don't print START every time to the debug file (unless print_err is not commented out)
This commit is contained in:
parent
d0540a71d0
commit
ab09d5dfd8
|
@ -9,7 +9,6 @@ defined('TINYBOARD') or exit;
|
||||||
$hidden_inputs_twig = array();
|
$hidden_inputs_twig = array();
|
||||||
|
|
||||||
$logfile = "/tmp/lainchan_err.out";
|
$logfile = "/tmp/lainchan_err.out";
|
||||||
file_put_contents($logfile, "\n\nSTART\n\n", FILE_APPEND);
|
|
||||||
|
|
||||||
function print_err($s) {
|
function print_err($s) {
|
||||||
// global $logfile;
|
// global $logfile;
|
||||||
|
@ -20,6 +19,8 @@ function print_err2($s) {
|
||||||
print_err($s);
|
print_err($s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print_err("\n\nSTART\n\n");
|
||||||
|
|
||||||
class AntiBot {
|
class AntiBot {
|
||||||
public $salt, $inputs = array(), $index = 0;
|
public $salt, $inputs = array(), $index = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue