forked from Korbs/4get
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){
|
||||
|
||||
$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){
|
||||
|
||||
|
|
Reference in a new issue