- 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 {{cdn_url}}
Keyword
Seme Framework support {{cdn_url}}
keyword for replacing the keyword with $cdn_url
value in Seme Framework Configuration.
The Configuration
The CDN URL purpose is to create base url for CDN usage. Here is example codes on development.php file.
...
$cdn_url = 'https://cdn.cenah.co.id/';
...
How It Works
This {{cdn_url}}
keyword only processed on theme.json
and script.json
files.
Fallback
If the value from configuration is empty, the $base_url
value from Seme Framework configuration will be used as default value.
...
$site = 'http://localhost/seme_framework/';
...