ZF-6341: index.php doesn't add the library directory to the include_path

Issue Type: Bug Created: 2009-04-19T12:33:02.000+0000 Last Updated: 2009-04-27T11:40:44.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Rob Allen (rob) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Tool

Related issues: Attachments:


It would be useful if when creating a project, public/index.php should add library/ to the include_path. This would mean that the require_once 'Zend/Application.php'; call would work...


Posted by Matthew Weier O'Phinney (matthew) on 2009-04-26T18:27:56.000+0000

set_include_path() adding library/ to include_path within index.php has been added to trunk and merged to 1.8 release branch.

Posted by Rob Allen (rob) on 2009-04-27T11:40:41.000+0000

Tested and works for me.

Should we remove the line:

includePaths.library = APPLICATION_PATH "/../library"

from the generated application.ini?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.