Skip to content

Commit 2da2400

Browse files
Update class.IP2LocationAPI.php
1 parent 6e46e5f commit 2da2400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

class.IP2LocationAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function query($ip)
4040
return false;
4141
}
4242

43-
$response = $this->get('http' . (($this->useSSL) ? 's' : '') . '://api.ip2location.com/?' . http_build_query([
43+
$response = $this->get('http' . (($this->useSSL) ? 's' : '') . '://api.ip2location.com/v2/?' . http_build_query([
4444
'key' => $this->apiKey,
4545
'ip' => $ip,
4646
'package' => $this->package,

0 commit comments

Comments
 (0)