6 'type' => 'Zend\Mvc\Router\Http\Segment',
8 'route' => '/[:controller[/:action]]',
9 'constraints' => array(
10 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
11 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
14 'controller' => 'index',
20 'type' => 'Zend\Mvc\Router\Http\Literal',
24 'controller' => 'index',
31 'controller' => array(
33 'index' => 'Application\Controller\IndexController'
36 'view_manager' => array(
37 'display_not_found_reason' => true,
38 'display_exceptions' => true,
40 'not_found_template' => 'error/404',
41 'exception_template' => 'error/index',
42 'template_map' => array(
43 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
44 'index/index' => __DIR__ . '/../view/index/index.phtml',
45 'error/404' => __DIR__ . '/../view/error/404.phtml',
46 'error/index' => __DIR__ . '/../view/error/index.phtml',
48 'template_path_stack' => array(
49 'application' => __DIR__ . '/../view',