N°6937 - Symfony 6.4 - Handle Symfony configuration files

This commit is contained in:
Benjamin Dalsass
2024-02-26 10:38:36 +01:00
parent 6a907f1fed
commit 3cb3e8a7f9
21 changed files with 23 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ if (!is_object($app)) {
$runtime = $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? 'Symfony\\Component\\Runtime\\SymfonyRuntime';
$runtime = new $runtime(($_SERVER['APP_RUNTIME_OPTIONS'] ?? $_ENV['APP_RUNTIME_OPTIONS'] ?? []) + [
'dotenv_path' => 'symfony/.env',
'dotenv_path' => 'resources/symfony/.env',
'project_dir' => dirname(__DIR__, 1),
]);