diff --git a/inc/template.php b/inc/template.php index 00cdbd36..040ac4a0 100644 --- a/inc/template.php +++ b/inc/template.php @@ -85,7 +85,7 @@ $twig = new Twig_Environment($loader, Array( 'autoescape' => false, - 'cache' => 'templates/cache', + 'cache' => "{$config['dir']['template']}/cache", 'debug' => ($config['debug'] ? true : false), )); $twig->addExtension(new Tinyboard_Twig_Extension());