Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'router' => array(
- 'routes' => array(
- 'admin' => array(
- 'type' => 'ZendMvcRouterHttpHostname',
- 'options' => array(
- 'route' => ':subdomain.mydomain.local',
- 'constraints' => array(
- 'subdomain' => 'admin',
- ),
- 'defaults' => array(
- 'module' => '__NAMESPACE__',
- 'controller' => 'AdminControllerIndex',
- 'action' => 'index',
- ),
- ),
- 'priority' => 9000,
- 'may_terminate' => true,
- 'child_routes' => array(
- 'users' => array(
- 'type' => 'ZendMvcRouterHttpLiteral',
- 'options' => array(
- 'route' => '/users',
- 'defaults' => array(
- 'module' => '__NAMESPACE__',
- 'controller' => 'AdminControllerUsers',
- 'action' => 'index',
- ),
- ),
- ),
- )
- ),
- ),
- ),
- 'home' => array(
- 'type' => 'ZendMvcRouterHttpLiteral',
- 'options' => array(
- 'route' => '/',
- 'defaults' => array(
- 'controller' => 'ApplicationControllerIndex',
- 'action' => 'index',
- ),
- ),
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement