diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-17 08:06:25 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-17 08:06:25 +1000 |
| commit | 3acc0fd59121c9a7c488495475cc8d8fde83d75f (patch) | |
| tree | 363ba9d4082f5861a9527f1b2e1576b3c1a0c591 | |
| parent | c14260538bca9e71a32646d39b279dadc16797b3 (diff) | |
Bugfix: with third-party scripts that use create_antibot()
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index a8f7dfe0..55e83a20 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -210,7 +210,7 @@ function _syslog($priority, $message) { } 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); } |
