Google News
logo
Zend framework - Interview Questions
How to define the library path in Zend framework?
First create directory 'library', and put 'Zend' directory in it. Now you should add library to your include path. Edit index.php file :
$includePath = array();  
$includePath[] = '.';  
$includePath[] = './../application';  
$includePath[] = './../library';  
$includePath[] = get_include_path();  
$includePath = implode(PATH_SEPARATOR,$includePath);  
set_include_path($includePath);
Advertisement