Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.617 kb
<?php defined('SYSPATH') or die('No direct script access.');
Route::set('admin/auth', 'admin/<action>', array(
'action' => 'login|logout',
))
->defaults(array(
'directory' => 'admin',
'controller' => 'auth',
'action' => 'login',
));
Route::set('admin/media', 'admin/media(/<file>)', array('file'=>'.+'))
->defaults(array(
'directory' => 'admin',
'controller' => 'media',
'action' => 'file',
'file' => NULL,
));
Route::set('admin', 'admin(/<controller>(/<action>(/<id>)))')
->defaults(array(
'directory' => 'admin',
'controller' => 'main',
'action' => 'index',
));
Jump to Line
Something went wrong with that request. Please try again.