X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/9fa1421748557b70d3bf2161c56b449d6d50323f..067e8cf029e51acb422416b3082888d5a3cfef71:/public/index.php?ds=sidebyside diff --git a/public/index.php b/public/index.php index 8891125..9982c21 100644 --- a/public/index.php +++ b/public/index.php @@ -1,27 +1,9 @@ handle($request); -$response->send(); -$kernel->terminate($request, $response); +return function (array $context) { + return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); +};