- Seme Framework
- Credits
- Version 3.1.5
- Issue
- Deployment
URI Routing for Admin Pages
Seme Framework has default feature to overide all routes below app/controller/admin
. This feature comes when user need some extra security for securing admin pages. Not only re-routes, Seme Framework has another base_url function for compatibilty routing between admin page. The function is base_url_admin()
.
Condition
For using this feature, Seme Framework has some condition to meet such as:
$site_url
in app/config/config.php is set.$admin_secret_url
in index.php is set. Default value admin.- Only work on controller below
app/controller/admin
folder. - If there is a controller folder match with
$admin_secret_url
value, the controller under matched will be ignored. - Use
base_url_admin
respectively instead ofbase_url()
.