From b0f43eaa07cd22f462f33b505c4dbef1d44f0b11 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 7 Feb 2015 11:01:47 +0100 Subject: [PATCH] Moved C3 handler. --- public/index.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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);