How to change include directory of Zend Framework

后端 未结 5 2053
后悔当初
后悔当初 2020-12-29 02:04

I get the following error messages:

Warning: include_once(Zend\\Db.php) [function.include-once]: 
failed to open stream: No such file or directory in 
C:\\Ea         


        
5条回答
  •  灰色年华
    2020-12-29 02:24

    Use set_include_path(). See PHP.net documentation

    Example:

     set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/Zend');
    

提交回复
热议问题