error handling bug

This commit is contained in:
lolcat 2024-03-30 00:03:41 -04:00
parent 573a11a708
commit 0f2f97e5a3
1 changed files with 2 additions and 4 deletions

View File

@ -117,11 +117,9 @@ class frontend{
// bot detected !! // bot detected !!
apcu_inc("captcha_gen"); apcu_inc("captcha_gen");
$null = null;
$this->drawerror( $this->drawerror(
"Tshh, blocked!", "Tshh, blocked!",
'Your browser, IP or IP range has been blocked from this 4get instance. If this is an error, please <a href="/about">contact the administrator</a>.', 'Your browser, IP or IP range has been blocked from this 4get instance. If this is an error, please <a href="/about">contact the administrator</a>.'
microtime(true)
); );
die(); die();
} }
@ -144,7 +142,7 @@ class frontend{
die(); die();
} }
public function drawscrapererror($error, $get, $target, $timetaken){ public function drawscrapererror($error, $get, $target, $timetaken = microtime(true)){
$this->drawerror( $this->drawerror(
"Shit", "Shit",