forked from GithubBackups/vichan
revert changes to template.php
This commit is contained in:
parent
79e972945f
commit
6dd547e1bf
@ -23,7 +23,6 @@ function load_twig() {
|
|||||||
$loader->setPaths($config['dir']['template']);
|
$loader->setPaths($config['dir']['template']);
|
||||||
$twig = new Twig_Environment($loader, array(
|
$twig = new Twig_Environment($loader, array(
|
||||||
'autoescape' => false,
|
'autoescape' => false,
|
||||||
'auto_reload' => true,
|
|
||||||
'cache' => is_writable('templates') || (is_dir('templates/cache') && is_writable('templates/cache')) ?
|
'cache' => is_writable('templates') || (is_dir('templates/cache') && is_writable('templates/cache')) ?
|
||||||
"{$config['dir']['template']}/cache" : false,
|
"{$config['dir']['template']}/cache" : false,
|
||||||
'debug' => $config['debug']
|
'debug' => $config['debug']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user