mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
Allow per-board template directories.
This commit is contained in:
parent
82ca75f91a
commit
bc83eaa41a
@ -31,6 +31,8 @@
|
|||||||
$options['body'] .= '<h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . print_r($debug, true) . '</pre><hr/>';
|
$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(
|
$twig = new Twig_Environment($loader, Array(
|
||||||
'autoescape' => false,
|
'autoescape' => false,
|
||||||
'cache' => "{$config['dir']['template']}/cache",
|
'cache' => "{$config['dir']['template']}/cache",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user