ZF-8098: Problems with duplicated PATH
Description
I have had a problem with the "zf create project" and "zf create module". When I do create a project in the command line, it does include the library (with Zend classes) using the following line: set_include_path(implode(PATH_SEPARATOR, array( realpath(APPLICATION_PATH . '/../library'), get_include_path(), )));
But it also include a line in the application.ini: includePaths.library = APPLICATION_PATH "/../library"
when I try to create a new module, I get an error that I could not redefine the Zend_Loader class.
Looking for it, I have discovered that commenting the line in application.ini all goes right, no more problems. I guess it is a bug, isn´t it? Or my aproach was wrong to solve the problem?
Comments
Posted by André de Camargo Fernandes (andrecf) on 2009-10-19T09:43:46.000+0000
Error ocurred when the line in application.ini is not commented.
Posted by Ralf Eggert (ralf) on 2010-05-29T08:10:00.000+0000
Same problem as within http://framework.zend.com/issues/browse/ZF-8588
Posted by Ralph Schindler (ralph) on 2010-09-07T07:12:18.000+0000
This was fixed as part of the 1.10.x release series.