Update layout to use Twitter Bootstrap 2.0.0
[zf2.biz/application_blanche.git] / module / Application / config / module.config.php
index ef54756..6561e26 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 return array(
-    'layout'                => 'layouts/layout.phtml',
+    'layout'                => 'layout/layout.phtml',
     'display_exceptions'    => true,
     'di'                    => array(
         'instance' => array(
@@ -9,12 +9,28 @@ 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',
                     'options'  => array(
                         'script_paths' => array(
-                            'application' => __DIR__ . '/../views',
+                            'application' => __DIR__ . '/../view',
                         ),
                     ),
                 ),