1
Fork 0
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-12-24 23:56:34 -05:00

counter bug that gave me a heart attack

This commit is contained in:
lolcat 2023-11-07 08:43:35 -05:00
parent 785452873f
commit 7e893a15c1

View file

@ -4,7 +4,6 @@ class backend{
public function __construct($scraper){ public function __construct($scraper){
$this->scraper = $scraper; $this->scraper = $scraper;
$this->requestid = apcu_inc("real_requests");
} }
/* /*
@ -12,6 +11,7 @@ class backend{
*/ */
public function get_ip(){ public function get_ip(){
$this->requestid = apcu_inc("real_requests");
$pool = constant("config::PROXY_" . strtoupper($this->scraper)); $pool = constant("config::PROXY_" . strtoupper($this->scraper));
if($pool === false){ if($pool === false){