forked from leftypol/leftypol
don't print START every time to the debug file (unless print_err is not commented out)
This commit is contained in:
parent
540ff0dc12
commit
eb34ba0d57
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue