rafi_ccj

Untitled

Jun 22nd, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <?php
  2.  
  3. /* Md Faozul Azim Rafi
  4. * copyright-> xer0ne-2013 */
  5.  
  6.  
  7. return array(
  8. 'controllers' => array(
  9. 'invokables' => array(
  10. 'Album\Controller\Album' => 'Album\Controller\AlbumController',
  11. ),
  12. ),
  13. 'router' => array(
  14. 'routes' => array(
  15. 'album' => array(
  16. 'type' => 'segment',
  17. 'options' => array(
  18. 'route' => '/album[/][:action][/:id]',
  19. 'constraints' => array(
  20. 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
  21. 'id' => '[0-9]+',
  22. ),
  23. 'defaults' => array(
  24. 'controller' => 'Album\Controller\Album',
  25. 'action' => 'index',
  26. ),
  27. ),
  28. ),
  29. ),
  30. ),
  31. 'view_manager' => array(
  32. 'template_path_stack' => array(
  33. 'album' => __DIR__ . '/../view',
  34. ),
  35. ),
  36. );
Advertisement
Add Comment
Please, Sign In to add comment