This commit is contained in:
2020-05-16 17:37:22 -04:00
parent eb6f63c0fb
commit 729ff165ef
15 changed files with 924 additions and 22 deletions
+3 -2
View File
@@ -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
+1 -1
View File
@@ -49,7 +49,7 @@ $config['base_url'] = '';
| variable so that it is blank.
|
*/
$config['index_page'] = 'index.php';
$config['index_page'] = '';
/*
|--------------------------------------------------------------------------
+25
View File
@@ -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' => '',