environment fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
CONFIG_NAME='This is development!'
|
CONFIG_NAME='This is Dev.!'
|
||||||
CONTAINER_PORT=8097
|
CONTAINER_PORT=8097
|
||||||
UID=1000
|
UID=1000
|
||||||
CI_ENV=development
|
CI_ENV=development
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
CONFIG_NAME='This is live'
|
CONFIG_NAME='LV-ENV'
|
||||||
CONTAINER_PORT=8097
|
CONTAINER_PORT=8097
|
||||||
UID=1000
|
UID=1000
|
||||||
CI_ENVIRONMENT=production
|
CI_ENVIRONMENT=production
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ class Database extends Config
|
|||||||
if (ENVIRONMENT === 'testing') {
|
if (ENVIRONMENT === 'testing') {
|
||||||
$this->defaultGroup = 'tests';
|
$this->defaultGroup = 'tests';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ENVIRONMENT == 'production'){
|
if(ENVIRONMENT == 'production'){
|
||||||
$this->defaultGroup ='production';
|
$this->defaultGroup ='production';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user