- 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
Development
This is default configuration phase. On development file, you can put your configuration for development environment. Like database connection, base url, etc. Also, you can put any additional config values of development phase only.
Base URL with custom port
Seme Framework can be running with overriden default http port e.g. 8080
Todo so, you have to edit the $site
value on app/config/development.php
file.
$site = "http://localhost:8080/seme-framework/";
But if using $_SERVER['HTTP_HOST']
there is no necessary to add suffix port after it.
$site = "http://".$_SERVER['HTTP_HOST']."/seme-framework/";