view bans / unban

This commit is contained in:
Michael Save
2012-04-13 09:47:27 +10:00
parent 78f3ea7833
commit 2843ddc482
4 changed files with 103 additions and 9 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());