- Seme Framework
- version 4.0.3
- Requirements
- Download & Install
- Configuration
- Tutorials
- URI Routing
- Constants
- Global Variables
- Model
- View
- Controller
- cdn_url
- config
- constructor
- getAdditional
- getAdditionalBefore
- getAdditionalAfter
- getAuthor
- getCanonical
- getContentLanguage
- getDescription
- getIcon
- getJsContent
- getJsFooter
- getJsReady
- getKey
- getKeyword
- getLang
- getRobots
- getShortcutIcon
- getThemeElement
- getTitle
- input
- lib
- load
- loadCss
- loadLayout
- putThemeContent
- putJsContent
- putJsFooter
- putJsReady
- render
- resetThemeContent
- session
- setAuthor
- setCanonical
- setContentLanguage
- setDescription
- setIcon
- setKey
- setKeyword
- setLang
- setShortcutIcon
- setTheme
- setTitle
- Library
- CLI (command line interface)
- Core
- Issue
- Deployment
Function
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
have to fill correclty on each file configurations, e.g.app/config/development.php
.$admin_secret_url
on admin routing section in each file configuration 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()
.