diff --git a/airtime_mvc/application/configs/conf.php b/airtime_mvc/application/configs/conf.php index 1bdad8144..39ef27fdd 100644 --- a/airtime_mvc/application/configs/conf.php +++ b/airtime_mvc/application/configs/conf.php @@ -73,7 +73,7 @@ class Config { $CC_CONFIG['apiKey'] = array($values['general']['api_key']); - if (APPLICATION_ENV == "development"){ + if (defined('APPLICATION_ENV') && APPLICATION_ENV == "development"){ $CC_CONFIG['apiKey'][] = ""; }