Skip to content

Commit b37300a

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #572
2 parents 0b2a176 + 6953b33 commit b37300a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

symfony/framework-bundle/3.3/config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
1313
} else {
1414
$path = dirname(__DIR__).'/.env';
15-
$dotenv = new Dotenv();
15+
$dotenv = new Dotenv(false);
1616

1717
// load all the .env files
1818
if (method_exists($dotenv, 'loadEnv')) {

symfony/framework-bundle/4.2/config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
1313
} else {
1414
// load all the .env files
15-
(new Dotenv())->loadEnv(dirname(__DIR__).'/.env');
15+
(new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
1616
}
1717

1818
$_SERVER += $_ENV;

0 commit comments

Comments
 (0)