miniMVC/app/config/routes.php

20 lines
447 B
PHP

<?php
/**
* 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(
// Default Paths
'default_controller' => 'welcome',
'default_module' => 'welcome',
'404_route' => '',
);