mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
db config in stikked-config
This commit is contained in:
parent
b118422050
commit
646a875951
@ -48,10 +48,14 @@
|
|||||||
$active_group = 'default';
|
$active_group = 'default';
|
||||||
$active_record = TRUE;
|
$active_record = TRUE;
|
||||||
|
|
||||||
$db['default']['hostname'] = '127.0.0.1';
|
$CI =& get_instance();
|
||||||
$db['default']['username'] = 'stikked';
|
$CI->load->config('stikked');
|
||||||
$db['default']['password'] = 'stikked';
|
|
||||||
$db['default']['database'] = 'stikked';
|
|
||||||
|
$db['default']['hostname'] = $CI->config->item('db_hostname');
|
||||||
|
$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']['dbdriver'] = 'mysql';
|
||||||
$db['default']['dbprefix'] = '';
|
$db['default']['dbprefix'] = '';
|
||||||
$db['default']['pconnect'] = TRUE;
|
$db['default']['pconnect'] = TRUE;
|
||||||
|
@ -8,6 +8,17 @@
|
|||||||
*/
|
*/
|
||||||
$config['site_name'] = 'Stikked';
|
$config['site_name'] = 'Stikked';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Database connection
|
||||||
|
*
|
||||||
|
* Credentials for your database
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
$config['db_hostname'] = '127.0.0.1';
|
||||||
|
$config['db_database'] = 'stikked';
|
||||||
|
$config['db_username'] = 'stikked';
|
||||||
|
$config['db_password'] = 'stikked';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Combine JS & CSS files
|
* Combine JS & CSS files
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user