- 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
Database Connection Configuration
Seme Framework has ability for open connection to database.
Database connection configuration existed on $db
array values, separated by 7 keys.
$db['host']
The hostname or IP Address value of database server connection.
$db['user']
The user value of database server connection.
$db['pass']
The password value of database server connection.
$db['name']
The name of database using by database server connection.
$db['port']
The connection port used by database server connection. Default value is $db['port'] = '3306';
.
$db['charset']
The character set used by database server connection. The value can be latin1
or utf8
.
$db['engine']
The framework database engine. In version 4 only MySQLi
is available, so the default value is $db['engine'] = 'mysqli';
.