promote/demote users, started on rebuild

This commit is contained in:
Michael Save 2012-04-14 22:28:21 +10:00
parent 1437a121f7
commit 87281687ed
5 changed files with 136 additions and 13 deletions

View file

@ -26,7 +26,7 @@ function load_twig() {
$loader->setPaths($config['dir']['template']);
$twig = new Twig_Environment($loader, array(
'autoescape' => false,
//'cache' => "{$config['dir']['template']}/cache",
'cache' => "{$config['dir']['template']}/cache",
'debug' => ($config['debug'] ? true : false),
));
$twig->addExtension(new Twig_Extensions_Extension_Tinyboard());