1.

How Do U Define The Library Path In Zend ?

Answer»

create DIRECTORY ‘library’, and put ‘Zend’ directory in it. Your directory structure will look like this:

wwwroot
APPLICATION
lib
Zend
public
index.php

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);

create directory ‘library’, and put ‘Zend’ directory in it. Your directory structure will look like this:

wwwroot
application
lib
Zend
public
index.php

now you should add library to your include path. Edit index.php file:



Discussion

No Comment Found