projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55d1ab3
)
Inject the plugin loader into Zend\Mvc\Controller\PluginBroker by default to simplify...
author
Rob Allen
<rob@akrabat.com>
Tue, 24 Jan 2012 17:06:58 +0000
(17:06 +0000)
committer
Rob Allen
<rob@akrabat.com>
Tue, 24 Jan 2012 17:06:58 +0000
(17:06 +0000)
module/Application/config/module.config.php
patch
|
blob
|
history
diff --git
a/module/Application/config/module.config.php
b/module/Application/config/module.config.php
index
a8e8365
..
6561e26
100644
(file)
--- 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',
),
'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\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',
'Zend\View\PhpRenderer' => array(
'parameters' => array(
'resolver' => 'Zend\View\TemplatePathStack',