Bugfix: with third-party scripts that use create_antibot()
This commit is contained in:
parent
c14260538b
commit
3acc0fd591
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user