X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fconfig%2Fmodule.config.php;h=6561e263c03407d79cd1f20e565d439cd7b5c726;hb=628a15da148c720ea548b5e4a01135a22d6b56aa;hp=a8e83650ed56a5e59700dcafeff5214e2db87a3d;hpb=55d1ab3ad897ffca943fa53d7cccb17faeb2aa4c;p=zf2.biz%2Fgalerie.git diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index a8e8365..6561e26 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -9,11 +9,22 @@ return array( 'error' => 'Application\Controller\ErrorController', 'view' => 'Zend\View\PhpRenderer', ), + + // Inject the plugin broker for controller plugins into + // the action controller for use by all controllers that + // extend it. 'Zend\Mvc\Controller\ActionController' => array( 'parameters' => array( 'broker' => 'Zend\Mvc\Controller\PluginBroker', ), ), + 'Zend\Mvc\Controller\PluginBroker' => array( + 'parameters' => array( + 'loader' => 'Zend\Mvc\Controller\PluginLoader', + ), + ), + + // Setup the PhpRenderer 'Zend\View\PhpRenderer' => array( 'parameters' => array( 'resolver' => 'Zend\View\TemplatePathStack',