5 'type' => 'Zend\Mvc\Router\Http\Segment',
7 'route' => '/[:controller[/:action]]',
8 'constraints' => array(
9 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
10 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
13 'controller' => 'IndexController',
19 'type' => 'Zend\Mvc\Router\Http\Literal',
23 'controller' => 'IndexController',
29 'controllers' => array(
30 'IndexController' => 'Application\Controller\IndexController'
33 'display_not_found_reason' => true,
34 'display_exceptions' => true,
35 'not_found_template' => 'error/404',
36 'exception_template' => 'error/index',
37 'template_map' => array(
38 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
39 'index/index' => __DIR__ . '/../view/index/index.phtml',
40 'error/404' => __DIR__ . '/../view/error/404.phtml',
41 'error/index' => __DIR__ . '/../view/error/index.phtml',
43 'template_path_stack' => array(
44 'application' => __DIR__ . '/../view',
48 'driver' => 'Pdo-Sqlite',
49 'dbname' => 'path/to/data/database.sqlite'