Advertisement
Guest User

Untitled

a guest
Nov 16th, 2011
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. 'default' => array(
  2.             'type'    => 'Zend\Mvc\Router\Http\Segment',
  3.             'options' => array(
  4.                 'route'    => '/[:controller[/:action]]',
  5.                 'constraints' => array(
  6.                     'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
  7.                     'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
  8.                 ),
  9.                 'defaults' => array(
  10.                     'controller' => 'index',
  11.                     'action'     => 'index',
  12.                 ),
  13.         ),
  14.         'child_routes' => array(
  15.             'params' => array(
  16.             'type' => 'Zend\Mvc\Router\Http\Wildcard',
  17.             ... ?
  18.         ),
  19.             ),
  20.         ),
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement