summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
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());