add new route for testing esi tag
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -67,7 +67,6 @@ class Thelia extends Kernel
|
||||
if ($this->debug) {
|
||||
ini_set('display_errors', 1);
|
||||
}
|
||||
ini_set('display_errors', 1);
|
||||
$this->initPropel();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user