Add project path to app Kernel instanciation

This commit is contained in:
tdutrion
2019-03-23 18:51:27 +01:00
parent 8bd4f13853
commit 693ec9e93a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);