feat: support variables
This commit is contained in:
@@ -75,6 +75,8 @@ class Configuration {
|
||||
if (null === self::$customConfigFilePath) {
|
||||
$envSpecificConfig = 'local';
|
||||
if ($env = getenv('APPLICATION_ENV')) {
|
||||
} else if (isset($_ENV['APPLICATION_ENV'])) {
|
||||
$env = $_ENV['APPLICATION_ENV'];
|
||||
} else if (isset($_SERVER['APPLICATION_ENV'])) {
|
||||
$env = $_SERVER['APPLICATION_ENV'];
|
||||
} else if (WhichEnv::has('APPLICATION_ENV')) {
|
||||
|
||||
Reference in New Issue
Block a user