forked from leftypol/leftypol
Allow per-board template directories.
This commit is contained in:
parent
8243ae56cd
commit
1d1f391c5e
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@
|
|||
$options['body'] .= '<h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . print_r($debug, true) . '</pre><hr/>';
|
||||
}
|
||||
|
||||
$loader->setPaths($config['dir']['template']);
|
||||
|
||||
$twig = new Twig_Environment($loader, Array(
|
||||
'autoescape' => false,
|
||||
'cache' => "{$config['dir']['template']}/cache",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue