3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
14 'type' => 'Zend\Mvc\Router\Http\Literal',
18 'controller' => 'Application\Controller\Index',
23 // The following is a route to simplify getting started creating
24 // new controllers and actions without needing to create a new
25 // module. Simply drop new controllers in, and you can access them
26 // using the path /application/:controller/:action
27 'application' => array(
30 'route' => '/application',
32 '__NAMESPACE__' => 'Application\Controller',
33 'controller' => 'Index',
37 'may_terminate' => true,
38 'child_routes' => array(
42 'route' => '/[:controller[/:action]]',
43 'constraints' => array(
44 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
45 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
55 'service_manager' => array(
57 //'translator' => 'Zend\I18n\Translator\TranslatorServiceFactory',
58 'navigation' => 'Zend\Navigation\Service\DefaultNavigationFactory'
61 /* 'translator' => array(
63 'translation_file_patterns' => array(
66 'base_dir' => __DIR__ . '/../language',
71 'controllers' => array(
72 'invokables' => array(
73 'Application\Controller\Index' => 'Application\Controller\IndexController'
76 'view_manager' => array(
77 'display_not_found_reason' => true,
78 'display_exceptions' => true,
80 'not_found_template' => 'error/404',
81 'exception_template' => 'error/index',
82 'template_map' => array(
83 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
84 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
85 'error/404' => __DIR__ . '/../view/error/404.phtml',
86 'error/index' => __DIR__ . '/../view/error/index.phtml',
88 'template_path_stack' => array(
92 'navigation' => array(
115 'action' => 'delete',