[fw-general] setFallbackAutoloader(true) causing module boostraps not load
Hi, I ran into one issue with the setFallbackAutoloader(true). I have modular app with usual directory structure (via Zend_Tool), with module test. Test_Boostrap class is located as usual in modules/test/Bootstrap.php. Works perfect. But with the fallbackAutoloader enabled (snippets from index.php): Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-bootstrap()-run(); I get include warnings ...Failed opening 'Test\Bootstrap.php'..., while this: $application-bootstrap(); Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-run(); works fine. Is that the correct behaviour? Thanks in advance for your time. Regards, M.
Re: [fw-general] setFallbackAutoloader(true) causing module boostraps not load
-- Marian Meres marian.me...@gmail.com wrote (on Friday, 19 June 2009, 05:28 PM +0200): I ran into one issue with the setFallbackAutoloader(true). I have modular app with usual directory structure (via Zend_Tool), with module test. Test_Boostrap class is located as usual in modules/test/Bootstrap.php. Works perfect. But with the fallbackAutoloader enabled (snippets from index.php): Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-bootstrap()-run(); I get include warnings ...Failed opening 'Test\Bootstrap.php'..., while this: $application-bootstrap(); Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-run(); works fine. Is that the correct behaviour? I believe this may be fixed already in trunk -- can you test, please? -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] setFallbackAutoloader(true) causing module boostraps not load
Hello Matthew, On Fri, Jun 19, 2009 at 7:41 PM, Matthew Weier O'Phinneymatt...@zend.com wrote: -- Marian Meres marian.me...@gmail.com wrote (on Friday, 19 June 2009, 05:28 PM +0200): I ran into one issue with the setFallbackAutoloader(true). I have modular app with usual directory structure (via Zend_Tool), with module test. Test_Boostrap class is located as usual in modules/test/Bootstrap.php. Works perfect. But with the fallbackAutoloader enabled (snippets from index.php): Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-bootstrap()-run(); I get include warnings ...Failed opening 'Test\Bootstrap.php'..., while this: $application-bootstrap(); Zend_Loader_Autoloader::getInstance()-setFallbackAutoloader(true); $application-run(); works fine. Is that the correct behaviour? I believe this may be fixed already in trunk -- can you test, please? Just partialy - I'm not getting warnings for the Failed opening 'Test\Bootstrap.php' anymore, but still Failed opening 'FrontController.php' (I didn't mention that before). Tested with revision 16169. Regards, M.