Browse Source

replace hardcoded "templates/" directory with appropriate config directive

pull/40/head
Savetheinternet 13 years ago
parent
commit
c1593be1c8
  1. 2
      inc/template.php

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

Loading…
Cancel
Save