diff options
Diffstat (limited to 'lib/frontend.php')
-rw-r--r-- | lib/frontend.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/frontend.php b/lib/frontend.php index 68398b5..2b7fea2 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -117,11 +117,9 @@ class frontend{ // bot detected !! apcu_inc("captcha_gen"); - $null = null; $this->drawerror( "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>.', - microtime(true) + '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>.' ); die(); } @@ -144,7 +142,7 @@ class frontend{ die(); } - public function drawscrapererror($error, $get, $target, $timetaken){ + public function drawscrapererror($error, $get, $target, $timetaken = microtime(true)){ $this->drawerror( "Shit", |