X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/d3f1238bf810777609a48e0cb2ca99089f577f16..3b2877bcdf4a911acf24b48be72f4b972c8ff895:/public/index.php diff --git a/public/index.php b/public/index.php index 367362e..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']); +};