diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-17 08:06:25 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-05-05 18:07:20 +1000 |
| commit | 53c53c57ed98aa49d2c9508de9c9b7074d4b0a6a (patch) | |
| tree | 94bc7caef3c8d08f0b439abb768a36d79d89154c | |
| parent | 635ac00a0eec43020e9669a3f338af0cb53dd264 (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 cbb13a91..93a30943 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); } |
