unregister(); $cacheLoader->register(true); */ $request = Request::createFromGlobals(); Request::setTrustedProxies(array('127.0.0.1', '178.60.207.18')); $thelia = new Thelia("prod", false); //$thelia = new HttpCache($thelia); $response = $thelia->handle($request)->prepare($request)->send(); $thelia->terminate($request, $response);