Kohana::modules(array(
'database' => MODPATH.'database', // Database access
));
Route::set('forum', 'forum(/<id>(/page<page>))')->defaults(array('controller' => 'forum', 'id' => 1, 'page' => 1));
Route::set('auth', 'auth(/<action>)')->defaults(array('controller' => 'auth', 'action' => 'login'));
Route::set('default', '(<controller>(/<action>(/<id>)))', array('id' => '\d{1,10}'))
->defaults(array(
'controller' => 'welcome',
'action' => 'index',
'id' => 1
));
* This source code was highlighted with Source Code Highlighter.