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