CC-3567: Don't require API key for API controller when APPLICATION_ENV = "development"
-fixed
This commit is contained in:
parent
2e88801dad
commit
709f38e4ed
|
@ -72,6 +72,10 @@ class Config {
|
|||
$CC_CONFIG['dsn']['database'] = $values['database']['dbname'];
|
||||
|
||||
$CC_CONFIG['apiKey'] = array($values['general']['api_key']);
|
||||
|
||||
if (APPLICATION_ENV == "development"){
|
||||
$CC_CONFIG['apiKey'][] = "";
|
||||
}
|
||||
|
||||
$CC_CONFIG['soundcloud-connection-retries'] = $values['soundcloud']['connection_retries'];
|
||||
$CC_CONFIG['soundcloud-connection-wait'] = $values['soundcloud']['time_between_retries'];
|
||||
|
|
Loading…
Reference in New Issue