summaryrefslogtreecommitdiff
path: root/templates/themes/ukko3/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/ukko3/theme.php')
-rw-r--r--templates/themes/ukko3/theme.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/themes/ukko3/theme.php b/templates/themes/ukko3/theme.php
index 937a1ef3..53910199 100644
--- a/templates/themes/ukko3/theme.php
+++ b/templates/themes/ukko3/theme.php
@@ -138,7 +138,13 @@
$json = json_encode($api->translateCatalog($catalog, true));
$jsonFilename = $board['dir'] . 'threads.json';
file_write($jsonFilename, $json);
- }
+ }
+ $antibot = null;
+ if (!$antibot) {
+ $antibot = create_antibot($board['uri']);
+ }
+ $antibot->reset();
+
return Element('index.html', array(
'config' => $config,
'board' => $board,
@@ -146,7 +152,8 @@
'body' => $body,
'mod' => $mod,
'boardlist' => createBoardlist($mod),
- 'boards' => $boardsforukko3 )
+ 'boards' => $boardsforukko3,
+ 'antibot' => $antibot )
);
}