I know that kohana inteprets the url like
/controller/method/variable/etc..
is there a way to make it intepret it as
开发者_如何学运维/variable/controller/method/etc..
Change the default route to this in your bootstrap.php
:
Route::set('default', '(<variable>/<controller>(/<action>(/<id>)))')
->defaults(array(
'controller' => 'main',
'action' => 'index',
));
精彩评论