diff --git a/public/index.php b/public/index.php index badb7c6f3a..6ee13c9258 100644 --- a/public/index.php +++ b/public/index.php @@ -18,8 +18,6 @@ | */ -require __DIR__.'/../bootstrap/autoload.php'; - /** * Adding c3.php for code coverage during codeception tests * ref: https://github.com/Codeception/c3 @@ -28,6 +26,10 @@ if (file_exists(__DIR__ . '/../c3.php')) { require __DIR__ . '/../c3.php'; } +require __DIR__.'/../bootstrap/autoload.php'; + + + /* |-------------------------------------------------------------------------- | Turn On The Lights @@ -62,4 +64,6 @@ $response = $kernel->handle( $response->send(); + + $kernel->terminate($request, $response);