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