Skip to content

Commit 1d4435e

Browse files
authored
Fixed error on MaxMind when using MaxMind License Key
1 parent e8104a3 commit 1d4435e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Model/GeoIpDatabase/MaxMind.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ private function updateByAPI()
174174
CURLOPT_HTTPGET => true,
175175
CURLOPT_BINARYTRANSFER => true,
176176
CURLOPT_HEADER => false,
177+
CURLOPT_FOLLOWLOCATION => true,
177178
CURLOPT_FILE => $fp,
178179
));
179180

0 commit comments

Comments
 (0)