2011-12-27 16:47:27 -05:00
|
|
|
<?php
|
|
|
|
|
2011-12-29 16:57:28 -05:00
|
|
|
/**
|
|
|
|
* File to configure routes
|
|
|
|
*
|
|
|
|
* Routes work on simple/regex matching.
|
|
|
|
*
|
|
|
|
* For a route mapping [http://example.com/]blog to the blog controller in the blog module:
|
|
|
|
* 'blog' => 'blog/blog/index'
|
|
|
|
*
|
|
|
|
* To route a special 404 page, set '404_route' to the "module/controller/method" you wish to use
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
2011-12-27 16:47:27 -05:00
|
|
|
// Default Paths
|
2011-12-29 16:57:28 -05:00
|
|
|
'default_controller' => 'welcome',
|
|
|
|
'default_module' => 'welcome',
|
|
|
|
'404_route' => '',
|
2011-12-27 16:47:27 -05:00
|
|
|
);
|