<?php
return array(
- 'Application\View\Listener' => __DIR__ . '/src/Application/View/Listener.php',
'Application\Controller\IndexController' => __DIR__ . '/src/Application/Controller/IndexController.php',
'Application\Controller\ErrorController' => __DIR__ . '/src/Application/Controller/ErrorController.php',
'Application\Module' => __DIR__ . '/Module.php',
-);
\ No newline at end of file
+);
<?php
return array(
'di' => array(
- 'definition' => array(
- 'class' => array(
- 'Zend\View\Renderer\PhpRenderer' => array(
- 'setResolver' => array(
- 'resolver' => array(
- 'required' => false,
- 'type' => 'Zend\View\Resolver',
- ),
- ),
- ),
- ),
- ),
'instance' => array(
- 'alias' => array(
- 'index' => 'Application\Controller\IndexController',
- 'error' => 'Application\Controller\ErrorController',
- 'view' => 'Zend\View\Renderer\PhpRenderer',
- ),
-
// Inject the plugin broker for controller plugins into
// the action controller for use by all controllers that
// extend it.
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
),
'defaults' => array(
- 'controller' => 'index',
+ 'controller' => 'Application\Controller\IndexController',
'action' => 'index',
),
),
'options' => array(
'route' => '/',
'defaults' => array(
- 'controller' => 'index',
+ 'controller' => 'Application\Controller\IndexController',
'action' => 'index',
),
),