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 f16f839 commit f759cd6Copy full SHA for f759cd6
src/Torann/GeoIP/GeoIP.php
@@ -175,10 +175,10 @@ private function locate_maxmind($ip)
175
176
if (empty($this->maxmind)) {
177
if ($settings['type'] === 'web_service') {
178
- $this->maxmind = new Client($settings['user_id'], $settings['license_key']);
+ $this->maxmind = new Client($settings['user_id'], $settings['license_key'], $settings['locales']);
179
}
180
else {
181
- $this->maxmind = new Reader($settings['database_path']);
+ $this->maxmind = new Reader($settings['database_path'], $settings['locales']);
182
183
184
0 commit comments