mirror of
https://github.com/getgrav/grav.git
synced 2026-01-24 08:19:59 +01:00
Moved Twig cache into /cache/twig subfolder
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user