ZF-9468: Autoload plugin files in Zend_Application_Resource_Frontcontroller::init
Description
Problem: When pointing in config application.ini to load some plugins, such as:
resources.frontController.plugins = Some_Plugin
resources.frontController.plugins = Another_Plugin
then Zend_Application_Resource_Frontcontroller trying to create them, but not to load. So, in projects, where autoloading is off, there isn't other way than directly include all plugin files in index.php
i think, it's bad practice. Especially, when i'm using different sets of plugins in different environments.
this is a very simple issue and only 3 lines of code fixes them. attaching them as a patch (to version 1.10.2)
Comments
Posted by Stephan Kountso (steplg) on 2010-03-18T10:26:21.000+0000
patch to fix issue
Posted by Matthew Weier O'Phinney (matthew) on 2010-03-18T10:46:11.000+0000
Honestly, we have to assume the plugins are autoloadable for this to work -- and since Zend_Application both assumes and instantiates the autoloader, this is a valid requirement.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-07-16T13:55:28.000+0000
Resolving as wont-fix for the reasons outlined by Matthew.