HttpCache can not be activated as default

This commit is contained in:
Manuel Raynaud
2013-11-22 10:02:42 +01:00
parent a85baf6994
commit 5d52a34f05

View File

@@ -11,7 +11,7 @@ require __DIR__ . '/../core/bootstrap.php';
$request = Request::createFromGlobals(); $request = Request::createFromGlobals();
$thelia = new Thelia("prod", false); $thelia = new Thelia("prod", false);
$thelia = new HttpCache($thelia); //$thelia = new HttpCache($thelia);
$response = $thelia->handle($request)->prepare($request)->send(); $response = $thelia->handle($request)->prepare($request)->send();
$thelia->terminate($request, $response); $thelia->terminate($request, $response);