add new route for testing esi tag

This commit is contained in:
Manuel Raynaud
2013-11-20 10:09:12 +01:00
parent b8345fa30d
commit 48319eedde
7 changed files with 16 additions and 7 deletions

View File

@@ -90,13 +90,13 @@ class ViewListener implements EventSubscriberInterface
$response = new Response($content, $parser->getStatus() ?: 200);
}
/* $response->setCache(array(
$response->setCache(array(
'last_modified' => new \DateTime(),
'max_age' => 600,
's_maxage' => 600,
'private' => false,
'public' => true,
));*/
));
$event->setResponse($response);
} catch (ResourceNotFoundException $e) {

View File

@@ -67,7 +67,6 @@ class Thelia extends Kernel
if ($this->debug) {
ini_set('display_errors', 1);
}
ini_set('display_errors', 1);
$this->initPropel();
}