start using symfony 2 reverse proxy
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
use Thelia\Core\HttpKernel\HttpCache\HttpCache;
|
||||
use Thelia\Core\Thelia;
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
|
||||
@@ -10,7 +11,7 @@ require __DIR__ . '/../core/bootstrap.php';
|
||||
$request = Request::createFromGlobals();
|
||||
|
||||
$thelia = new Thelia("prod", false);
|
||||
|
||||
//$thelia = new HttpCache($thelia);
|
||||
$response = $thelia->handle($request)->prepare($request)->send();
|
||||
|
||||
$thelia->terminate($request, $response);
|
||||
|
||||
Reference in New Issue
Block a user