X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/9fa1421748557b70d3bf2161c56b449d6d50323f..4e4f51d42ca573e30e24d7ac2953c91cb0d973ee:/public/index.php 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']); +};