fix
This commit is contained in:
@@ -58,7 +58,8 @@ $autoload['packages'] = array();
|
||||
|
|
||||
| $autoload['libraries'] = array('user_agent' => 'ua');
|
||||
*/
|
||||
$autoload['libraries'] = array();
|
||||
//$autoload['libraries'] = array();
|
||||
$autoload['libraries'] = array('database','session','form_validation');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
@@ -90,7 +91,7 @@ $autoload['drivers'] = array();
|
||||
| $autoload['helper'] = array('url', 'file');
|
||||
*/
|
||||
$autoload['helper'] = array();
|
||||
|
||||
$autoload['helper'] = array('form', 'url');
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Config files
|
||||
|
||||
@@ -49,7 +49,7 @@ $config['base_url'] = '';
|
||||
| variable so that it is blank.
|
||||
|
|
||||
*/
|
||||
$config['index_page'] = 'index.php';
|
||||
$config['index_page'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -73,7 +73,32 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$active_group = 'default';
|
||||
$query_builder = TRUE;
|
||||
|
||||
global $coregrade;
|
||||
|
||||
$db['default'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => $coregrade->cfgReadChar('database.host'), /* '10.142.0.10', */
|
||||
'username' => $coregrade->cfgReadChar('database.user'), /* 'savvy', */
|
||||
'password' => $coregrade->cfgReadChar('database.pass'), /* 'savvy001!', */
|
||||
'database' => $coregrade->cfgReadChar('database.name'), /* 'savvy', */
|
||||
'dbdriver' => 'postgre',
|
||||
'dbprefix' => '',
|
||||
'pconnect' => FALSE,
|
||||
'db_debug' => (ENVIRONMENT !== 'production'),
|
||||
'cache_on' => FALSE,
|
||||
'cachedir' => '',
|
||||
'char_set' => 'utf8',
|
||||
'dbcollat' => 'utf8_general_ci',
|
||||
'swap_pre' => '',
|
||||
'encrypt' => FALSE,
|
||||
'compress' => FALSE,
|
||||
'stricton' => FALSE,
|
||||
'failover' => array(),
|
||||
'save_queries' => TRUE
|
||||
);
|
||||
|
||||
|
||||
$db['default_out'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => '',
|
||||
|
||||
Reference in New Issue
Block a user