don't print START every time to the debug file (unless print_err is not commented out)

This commit is contained in:
towards-a-new-leftypol 2020-12-29 20:12:43 -05:00
parent d0540a71d0
commit ab09d5dfd8
1 changed files with 2 additions and 1 deletions

View File

@ -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;