diff options
author | lolcat <will@lolcat.ca> | 2023-11-07 08:43:35 -0500 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-11-07 08:43:35 -0500 |
commit | 7e893a15c129f2b69527fbda032de85491fc20b2 (patch) | |
tree | ea67857f309f6e9582f5b7f3f3ea6f86279814dc /lib/backend.php | |
parent | 785452873f0ee0a27fc157b482b7551560f0282d (diff) |
counter bug that gave me a heart attack
Diffstat (limited to 'lib/backend.php')
-rw-r--r-- | lib/backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backend.php b/lib/backend.php index 209cfec..a1c90ab 100644 --- a/lib/backend.php +++ b/lib/backend.php @@ -4,7 +4,6 @@ class backend{ public function __construct($scraper){ $this->scraper = $scraper; - $this->requestid = apcu_inc("real_requests"); } /* @@ -12,6 +11,7 @@ class backend{ */ public function get_ip(){ + $this->requestid = apcu_inc("real_requests"); $pool = constant("config::PROXY_" . strtoupper($this->scraper)); if($pool === false){ |