3 'layout' => 'layout/layout.phtml',
4 'display_exceptions' => true,
8 'index' => 'Application\Controller\IndexController',
9 'error' => 'Application\Controller\ErrorController',
10 'view' => 'Zend\View\PhpRenderer',
13 // Inject the plugin broker for controller plugins into
14 // the action controller for use by all controllers that
16 'Zend\Mvc\Controller\ActionController' => array(
17 'parameters' => array(
18 'broker' => 'Zend\Mvc\Controller\PluginBroker',
21 'Zend\Mvc\Controller\PluginBroker' => array(
22 'parameters' => array(
23 'loader' => 'Zend\Mvc\Controller\PluginLoader',
27 // Setup the PhpRenderer
28 'Zend\View\PhpRenderer' => array(
29 'parameters' => array(
30 'resolver' => 'Zend\View\TemplatePathStack',
32 'script_paths' => array(
33 'application' => __DIR__ . '/../view',
42 'type' => 'Zend\Mvc\Router\Http\Segment',
44 'route' => '/[:controller[/:action]]',
45 'constraints' => array(
46 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
47 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
50 'controller' => 'index',
56 'type' => 'Zend\Mvc\Router\Http\Literal',
60 'controller' => 'index',