We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cd007 commit e53d9b7Copy full SHA for e53d9b7
composer.json
@@ -13,7 +13,7 @@
13
"minimum-stability": "dev",
14
"require": {
15
"php": ">=7.2",
16
- "guzzlehttp/guzzle": "^7.0",
+ "guzzlehttp/guzzle": "^6.0 || ^7.0",
17
"ipinfo/ipinfo": "2.1.x-dev"
18
},
19
"require-dev": {
src/GeoIPLocation.php
@@ -95,7 +95,7 @@ public function getIP()
95
$ip = $_SERVER['HTTP_CF_CONNECTING_IP'];
96
}
97
98
- if (in_array($ip, $this->localhostIp)) {
+ if (in_array($ip, $this->invalidIps)) {
99
$ip = $this->localhostIp;
100
101
$this->ip = trim($ip);
0 commit comments