From a564a95ab40eb1c9cc7de142db60aedb3e749176 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 12 Apr 2012 21:56:01 +1000 Subject: Improved Tinyboard anti-bot/spam filter. See large comment in inc/config.php for details. --- inc/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/template.php') diff --git a/inc/template.php b/inc/template.php index b348f153..fc9f167d 100644 --- a/inc/template.php +++ b/inc/template.php @@ -24,7 +24,7 @@ function load_twig() { $loader = new Twig_Loader_Filesystem($config['dir']['template']); $loader->setPaths($config['dir']['template']); - $twig = new Twig_Environment($loader, Array( + $twig = new Twig_Environment($loader, array( 'autoescape' => false, 'cache' => "{$config['dir']['template']}/cache", 'debug' => ($config['debug'] ? true : false), -- cgit v1.3