Correction for running on php -S

This commit is contained in:
Stephan Kasdorf
2018-04-11 14:37:45 +02:00
parent 628329396e
commit c4a2f2942a

View File

@@ -44,7 +44,9 @@ class Config extends Settings
}
else
{
self::$_env = self::CLI_SYSTEM;
defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development'));
self::$_env = APPLICATION_ENV;
}
}