Bugfix: with third-party scripts that use create_antibot()

This commit is contained in:
Michael Save 2012-04-17 08:06:25 +10:00
parent c14260538b
commit 3acc0fd591

View File

@ -210,7 +210,7 @@ function _syslog($priority, $message) {
} }
function create_antibot($board, $thread = null) { function create_antibot($board, $thread = null) {
require_once 'inc/anti-bot.php'; require_once dirname(__FILE__) . '/inc/anti-bot.php';
return _create_antibot($board, $thread); return _create_antibot($board, $thread);
} }