mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
19 lines
412 B
Markdown
19 lines
412 B
Markdown
# IP Address Geolocation module
|
|
|
|
Shlink module with tools to locate an IP address suing different strategies.
|
|
|
|
```php
|
|
<?php
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
'geolite2' => [
|
|
'db_location' => __DIR__ . '/../../data/GeoLite2-City.mmdb',
|
|
'temp_dir' => sys_get_temp_dir(),
|
|
// 'download_from' => 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz',
|
|
],
|
|
|
|
];
|
|
```
|