mirror of
https://github.com/symfony/recipes.git
synced 2026-09-18 18:46:40 +03:00
Move loading .env files to bootstrap.php
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<?php
|
||||
|
||||
App\Kernel::bootstrapEnv('test');
|
||||
putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = 'test');
|
||||
require dirname(__DIR__, 2).'/src/.bootstrap.php';
|
||||
|
||||
Reference in New Issue
Block a user