From: Raphaƫl Gertz Date: Wed, 31 Jan 2024 22:40:22 +0000 (+0100) Subject: Update public index X-Git-Tag: 0.1~19 X-Git-Url: https://git.rapsys.eu/airlibre/commitdiff_plain/4e4f51d42ca573e30e24d7ac2953c91cb0d973ee?ds=sidebyside;hp=00bf9e0009630ee0fd940da6be3befe6eb0d20aa Update public index --- 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']); +};