mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 12:31:06 -05:00
Added support for table prefix
This commit is contained in:
parent
1ee94fbe71
commit
3fb9c54d2f
@ -55,7 +55,7 @@ $db['default']['username'] = $CI->config->item('db_username');
|
||||
$db['default']['password'] = $CI->config->item('db_password');
|
||||
$db['default']['database'] = $CI->config->item('db_database');
|
||||
$db['default']['dbdriver'] = 'mysql';
|
||||
$db['default']['dbprefix'] = '';
|
||||
$db['default']['dbprefix'] = $CI->config->item('db_prefix');
|
||||
$db['default']['pconnect'] = TRUE;
|
||||
$db['default']['db_debug'] = TRUE;
|
||||
$db['default']['cache_on'] = FALSE;
|
||||
|
@ -15,10 +15,20 @@ $config['site_name'] = 'Stikked';
|
||||
* The database structure will be created automatically
|
||||
*
|
||||
*/
|
||||
$config['db_hostname'] = '127.0.0.1';
|
||||
$config['db_database'] = 'stikked';
|
||||
$config['db_username'] = 'stikked';
|
||||
$config['db_password'] = 'stikked';
|
||||
$config['db_hostname'] = '127.0.0.1';
|
||||
$config['db_database'] = 'stikked';
|
||||
$config['db_username'] = 'stikked';
|
||||
$config['db_password'] = 'stikked';
|
||||
|
||||
/**
|
||||
* Table prefix
|
||||
* Generate table prefix for stikked db, commonly used if the webhoster only have one db.
|
||||
* Use underscore as suffix to easily see the tables.
|
||||
* use $config['db_password'] = ''; if you dont want to use table prefix.
|
||||
*/
|
||||
|
||||
$config['db_prefix'] = 'stikked_';
|
||||
|
||||
|
||||
/**
|
||||
* Theme
|
||||
|
Loading…
x
Reference in New Issue
Block a user