X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/9fa1421748557b70d3bf2161c56b449d6d50323f..8dc1cf5ac6b36abf830095a33c04a26e28bc2390:/public/index.php diff --git a/public/index.php b/public/index.php index 8891125..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']); +};