Fix config parsing for dev_env
Conflicts: airtime_mvc/application/configs/conf.php
This commit is contained in:
parent
d77f107df5
commit
dc27465b21
|
@ -35,6 +35,11 @@ class Config {
|
|||
$CC_CONFIG['baseUrl'] = $values['general']['base_url'];
|
||||
$CC_CONFIG['basePort'] = $values['general']['base_port'];
|
||||
$CC_CONFIG['phpDir'] = $values['general']['airtime_dir'];
|
||||
if (isset($values['general']['dev_env'])) {
|
||||
$CC_CONFIG['dev_env'] == $values['general']['dev_env'];
|
||||
} else {
|
||||
$CC_CONFIG['dev_env'] = 'production';
|
||||
}
|
||||
|
||||
$CC_CONFIG['cache_ahead_hours'] = $values['general']['cache_ahead_hours'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue