|
@@ -116,7 +116,7 @@ |
|
|
block discarded – undo |
|
116
|
116
|
{ |
|
117
|
117
|
if (null !== $config['env_file']) { |
|
118
|
118
|
$envFilePath = sprintf('%s/%s', $container->getParameter('paths.base'), $config['env_file']); |
|
119
|
|
- $envFilePath = file_exists($envFilePath) ? $envFilePath : $envFilePath.'.dist'; |
|
|
119
|
+ $envFilePath = file_exists($envFilePath) ? $envFilePath : $envFilePath . '.dist'; |
|
120
|
120
|
(new Dotenv())->load($envFilePath); |
|
121
|
121
|
|
|
122
|
122
|
$environment = false !== getenv('APP_ENV') ? getenv('APP_ENV') : self::DEFAULT_ENV; |
Please login to merge, or discard this patch.