Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return array(
- 'controllers' => array(
- 'invokables' => array(
- 'Access\Controller\Login' => 'Access\Controller\LoginController',
- 'Access\Controller\Logout' => 'Access\Controller\LogoutController'
- ),
- ),
- 'router' => array(
- 'routes' => array(
- 'access' => array(
- 'type' => 'Literal',
- 'options' => array(
- 'route' => '/access',
- 'defaults' => array(
- '__NAMESPACE__' => 'Access\Controller',
- 'controller' => 'Login',
- 'action' => 'index',
- ),
- ),
- 'may_terminate' => true,
- 'child_routes' => array(
- 'default' => array(
- 'type' => 'Segment',
- 'options' => array(
- 'route' => '/[:controller[/[:action[/[:id]]]]]',
- 'constraints' => array(
- 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
- 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
- 'id' => '[0-9]+'
- ),
- 'defaults' => array(
- ),
- )
- ),
- ),
- ),
- ),
- ),
- 'view_manager' => array(
- 'template_path_stack' => array(
- 'album' => __DIR__ . '/../view',
- ),
- ),
- );
Add Comment
Please, Sign In to add comment