diff --git a/web/index_dev.php b/web/index_dev.php index 6b06585cd..7d9e61bd8 100755 --- a/web/index_dev.php +++ b/web/index_dev.php @@ -24,6 +24,7 @@ use Thelia\Core\Thelia; use Thelia\Core\HttpFoundation\Response; use Thelia\Core\HttpFoundation\Request; +use Thelia\Core\HttpKernel\HttpCache\HttpCache; //use Symfony\Component\DependencyInjection; @@ -43,6 +44,7 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) { $response = Response::create('Forbidden', 403)->send(); $thelia->terminate($request, $response); } else { + //$thelia = new HttpCache($thelia); $response = $thelia->handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); }