Don't throw any errors on settings until we have settings page

This commit is contained in:
James Brooks
2014-11-22 23:14:53 +00:00
parent 558058d10c
commit defac177fd

View File

@@ -18,10 +18,10 @@
// If we don't have a setting, check the env (fallback for original version)
if ($checkEnv) {
if (!($setting = getenv(strtoupper($settingName)))) {
self::unknownSettingException($settingName);
return $setting;
}
} else {
self::unknownSettingException($settingName);
return $setting;
}
}