maxmind国家判断失效跳过
This commit is contained in:
@@ -75,6 +75,7 @@ class visitorInfo
|
||||
$this->check_result = !empty($return['result']) ? "true" : "false";
|
||||
if ($this->v_country === '' && !empty($return['country'])) {
|
||||
$this->v_country = (string) $return['country'];
|
||||
$_SESSION['gcu_country'] = $this->v_country;
|
||||
}
|
||||
$this->v_reason = cloak_api_reason($return, $this->check_result);
|
||||
return $return;
|
||||
|
||||
Reference in New Issue
Block a user