8000 Dont use putenv by default · symfony/recipes@6953b33 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6953b33

Browse files
committed
Dont use putenv by default
1 parent 0b2a176 commit 6953b33

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.') ADC6 ;
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)
0