mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 15:46:37 +03:00
Dont use putenv by default
This commit is contained in:
@@ -12,7 +12,7 @@ if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {
|
||||
throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
|
||||
} else {
|
||||
// load all the .env files
|
||||
(new Dotenv())->loadEnv(dirname(__DIR__).'/.env');
|
||||
(new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
|
||||
}
|
||||
|
||||
$_SERVER += $_ENV;
|
||||
|
||||
Reference in New Issue
Block a user