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