Remove config/bootstrap.php when not needed anymore

This commit is contained in:
Fabien Potencier
2024-01-20 10:06:15 +01:00
parent 66d9ffb4ea
commit 3d7366d211
4 changed files with 7 additions and 7 deletions
@@ -4,9 +4,7 @@ use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
require dirname(__DIR__).'/config/bootstrap.php';
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}