We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99cd009 + ab4e599 commit d9037fdCopy full SHA for d9037fd
src/Bootstraps/Symfony.php
@@ -57,7 +57,7 @@ public function getApplication()
57
if (!getenv('APP_ENV') && class_exists(Dotenv::class) && file_exists(realpath('.env'))) {
58
//Symfony >=5.1 compatibility
59
if (method_exists(Dotenv::class, 'usePutenv')) {
60
- (new Dotenv())->usePutenv()->load(realpath('.env'));
+ (new Dotenv())->usePutenv()->bootEnv(realpath('.env'));
61
} else {
62
(new Dotenv(true))->load(realpath('.env'));
63
}
0 commit comments