mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-08 17:43:07 -05:00
counter bug that gave me a heart attack
This commit is contained in:
parent
785452873f
commit
7e893a15c1
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue