counter bug that gave me a heart attack
This commit is contained in:
parent
785452873f
commit
7e893a15c1
|
@ -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){
|
||||
|
||||
|
|
Loading…
Reference in New Issue