mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 03:26:23 +03:00
Add project path to app Kernel instanciation
This commit is contained in:
@@ -33,6 +33,6 @@ if ($_SERVER['APP_DEBUG']) {
|
||||
}
|
||||
}
|
||||
|
||||
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
|
||||
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'], dirname(__DIR__));
|
||||
$application = new Application($kernel);
|
||||
$application->run($input);
|
||||
|
||||
Reference in New Issue
Block a user