We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537a2c6 commit 2d581a5Copy full SHA for 2d581a5
Bootstraps/Symfony.php
@@ -53,7 +53,7 @@ public function getApplication()
53
54
// environment loading as of Symfony 3.3
55
if (!getenv('APP_ENV') && class_exists('Symfony\Component\Dotenv\Dotenv') && file_exists(realpath('.env'))) {
56
- (new \Symfony\Component\Dotenv\Dotenv())->load(realpath('.env'));
+ (new \Symfony\Component\Dotenv\Dotenv(true))->load(realpath('.env'));
57
}
58
59
$namespace = getenv('APP_KERNEL_NAMESPACE') ?: '\App\\';
0 commit comments