From 2519666e1c831f85836f9ce6d975d3ceb975c09d Mon Sep 17 00:00:00 2001 From: lolcat Date: Mon, 27 Nov 2023 01:01:56 -0500 Subject: google web, videos and news, various other fixes --- lib/captcha_gen.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/captcha_gen.php') diff --git a/lib/captcha_gen.php b/lib/captcha_gen.php index 6728747..abcab7a 100644 --- a/lib/captcha_gen.php +++ b/lib/captcha_gen.php @@ -7,6 +7,7 @@ class captcha{ // check if we want captcha if(config::BOT_PROTECTION !== 1){ + apcu_inc("real_requests"); if($output === true){ $frontend->loadheader( $get, @@ -45,6 +46,8 @@ class captcha{ }else{ // the cookie is OK! dont die() and give results + apcu_inc("real_requests"); + if($output === true){ $frontend->loadheader( $get, @@ -175,6 +178,8 @@ class captcha{ apcu_inc($key, 1, $stupid, 86400); + apcu_inc("real_requests"); + setcookie( "pass", $key, @@ -197,7 +202,7 @@ class captcha{ $error = "
You were kicked out of Mensa. Please try again.
"; } } - + // get the positions for the answers // will return between 3 and 6 answer positions $range = range(0, 15); -- cgit v1.2.3