env remove
This commit is contained in:
@@ -31,4 +31,11 @@ defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', true);
|
||||
|
||||
define('ENV_ID', 'DEV20231703-A2');
|
||||
define('ENV_ID', 'DEV20231703-A2');
|
||||
define('HOME_PAGE_BACKGROUND', 'api_bk.jpg');
|
||||
|
||||
|
||||
define('MYFIT_DATABASE_HOSTNAME', '10.20.30.60');
|
||||
define('MYFIT_DATABASE_USERNAME', 'myfit');
|
||||
define('MYFIT_DATABASE_PASSWORD', 'myfit');
|
||||
define('MYFIT_DATABASE', 'myfit_dev');
|
||||
@@ -20,4 +20,12 @@ error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE &
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', false);
|
||||
|
||||
define('ENV_ID', 'PROD20231703-A2');
|
||||
define('ENV_ID', 'PROD20231703-A2');
|
||||
define('HOME_PAGE_BACKGROUND', 'api_bk.jpg');
|
||||
|
||||
|
||||
define('MYFIT_DATABASE_HOSTNAME', '172.31.4.60');
|
||||
define('MYFIT_DATABASE_USERNAME', 'myfit');
|
||||
define('MYFIT_DATABASE_PASSWORD', 'myfit');
|
||||
define('MYFIT_DATABASE', 'myfit_prod');
|
||||
|
||||
|
||||
@@ -31,4 +31,12 @@ defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
|
||||
*/
|
||||
defined('CI_DEBUG') || define('CI_DEBUG', true);
|
||||
|
||||
define('ENV_ID', 'TEST20231703-A2');
|
||||
define('ENV_ID', 'TEST20231703-A2');
|
||||
|
||||
define('HOME_PAGE_BACKGROUND', 'api_bk.jpg');
|
||||
|
||||
|
||||
define('MYFIT_DATABASE_HOSTNAME', '10.20.30.60');
|
||||
define('MYFIT_DATABASE_USERNAME', 'myfit');
|
||||
define('MYFIT_DATABASE_PASSWORD', 'myfit');
|
||||
define('MYFIT_DATABASE', 'myfit_dev');
|
||||
|
||||
@@ -167,9 +167,9 @@ class Database extends Config
|
||||
if (ENVIRONMENT === 'testing') {
|
||||
$this->defaultGroup = 'tests';
|
||||
}
|
||||
$this->myfit['hostname'] = getenv('MYFIT_DATABASE_HOSTNAME');
|
||||
$this->myfit['username'] = getenv('MYFIT_DATABASE_USERNAME');
|
||||
$this->myfit['password'] = getenv('MYFIT_DATABASE_PASSWORD');
|
||||
$this->myfit['database'] = getenv('MYFIT_DATABASE');
|
||||
$this->myfit['hostname'] = MYFIT_DATABASE_HOSTNAME; //getenv('MYFIT_DATABASE_HOSTNAME');
|
||||
$this->myfit['username'] = MYFIT_DATABASE_USERNAME; // getenv('MYFIT_DATABASE_USERNAME');
|
||||
$this->myfit['password'] = MYFIT_DATABASE_PASSWORD; // getenv('MYFIT_DATABASE_PASSWORD');
|
||||
$this->myfit['database'] = MYFIT_DATABASE; // getenv('MYFIT_DATABASE');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user