- 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
The {{base_url}}
Keyword
Seme Framework support {{base_url}}
keyword for replacing the keyword with $site
value in Seme Framework Configuration.
The Configuration
The BASE URL purpose is to get base url value from the configuration. Here is example codes on development.php file.
...
$site = 'http://localhost/seme_framework/';
...
How It Works
This {{base_url}}
keyword only processed on theme.json
and script.json
files.
Fallback
If configuration fails, this will be replaced by empty string.