revert changes to template.php

This commit is contained in:
anonish 2015-02-21 00:47:07 -06:00
parent 79e972945f
commit 6dd547e1bf

View File

@ -23,7 +23,6 @@ function load_twig() {
$loader->setPaths($config['dir']['template']);
$twig = new Twig_Environment($loader, array(
'autoescape' => false,
'auto_reload' => true,
'cache' => is_writable('templates') || (is_dir('templates/cache') && is_writable('templates/cache')) ?
"{$config['dir']['template']}/cache" : false,
'debug' => $config['debug']