We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9dc7a8 commit ea8af67Copy full SHA for ea8af67
symfony/framework-bundle/4.2/config/bootstrap.php
@@ -7,6 +7,9 @@
7
// Load cached env vars if the .env.local.php file exists
8
// Run "composer dump-env prod" to create it (requires symfony/flex >=1.2)
9
if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {
10
+ foreach ($env as $name => $value) {
11
+ putenv("$name=$value");
12
+ }
13
$_SERVER += $env;
14
$_ENV += $env;
15
} elseif (!class_exists(Dotenv::class)) {
0 commit comments