Moved Twig cache into /cache/twig subfolder

This commit is contained in:
Andy Miller 2014-10-09 13:05:55 -06:00
parent 5430792687
commit 347d8ecebe

View File

@ -80,7 +80,7 @@ class Twig
$params = $config->get('system.twig');
if (!empty($params['cache'])) {
$params['cache'] = $locator->findResource('cache://');
$params['cache'] = $locator->findResource('cache://twig', true, true);
}
$this->twig = new \Twig_Environment($loader_chain, $params);