diff --git a/inc/template.php b/inc/template.php index cd280ac0..39d30207 100644 --- a/inc/template.php +++ b/inc/template.php @@ -31,6 +31,8 @@ $options['body'] .= '

Debug

' . print_r($debug, true) . '

'; } + $loader->setPaths($config['dir']['template']); + $twig = new Twig_Environment($loader, Array( 'autoescape' => false, 'cache' => "{$config['dir']['template']}/cache",