1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

replace hardcoded "templates/" directory with appropriate config directive

This commit is contained in:
Savetheinternet 2011-10-06 14:28:56 +11:00
parent 07d52f056e
commit c1593be1c8

View File

@ -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());