public/index.php
set_include_path(implode(PATH_SEPARATOR, array(
dirname(dirname(__FILE__)) . '/library',
get_include_path(),
)));
configs/application.ini
includePaths.library = APPLICATION_PATH "/../library"
As a result
print get_include_path();
// prints %localpath%/application/../library:%localpath%/library
if drop "includePaths.library" from ini, ./zf (Zend_Tool) fails. If drop in index.php, bootstraping fails.
How to correctly prevent this duplicate?