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