X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/d3f1238bf810777609a48e0cb2ca99089f577f16..refs/heads/master:/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']); +};