forked from lolcat/4get
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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){