mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Moved Twig cache into /cache/twig subfolder
This commit is contained in:
parent
5430792687
commit
347d8ecebe
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user