ZF-6439: Set Plugin Directory - FrontController
Description
There is no Option to set the Plugin Directory like in my Example.
Application/Resource/FrontController.php:
protected $_pluginDir; [...] case 'plugindirectory': $_pluginDir = $value; break;
case 'plugins':
foreach ((array) $value as $key=>$pluginClass) {
require_once $_pluginDir.'/'.$key.'.php';
$plugin = new $pluginClass();
$front->registerPlugin($plugin);
}
break;
[...]
*.ini resources.frontController.plugindirectory = APPLICATION_PATH "/plugins" resources.frontController.plugins.Acl = "Plugin_Acl"
Version 1.8b1
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-05-07T06:12:08.000+0000
It would make more sense to add plugin loading capabilities to Zend_Controller_Front, and then have Zend_Application proxy to that. This is a fairly large initiative, however, and needs to be postponed until somebody has time to take it on.
Posted by Matthew Weier O'Phinney (matthew) on 2009-09-18T11:27:14.000+0000
This issue needs a proposal.