diff --git a/inc/anti-bot.php b/inc/anti-bot.php index d2b6d467..b6be5e60 100644 --- a/inc/anti-bot.php +++ b/inc/anti-bot.php @@ -9,7 +9,6 @@ defined('TINYBOARD') or exit; $hidden_inputs_twig = array(); $logfile = "/tmp/lainchan_err.out"; -file_put_contents($logfile, "\n\nSTART\n\n", FILE_APPEND); function print_err($s) { // global $logfile; @@ -20,6 +19,8 @@ function print_err2($s) { print_err($s); } +print_err("\n\nSTART\n\n"); + class AntiBot { public $salt, $inputs = array(), $index = 0;