Skip to content

Commit

Permalink
Update geoip_update.php
Browse files Browse the repository at this point in the history
Permalinks from maxmind website says:
/app/geoip_download?edition_id=GeoLite2-Country&license_key=YOUR_LICENSE_KEY&suffix=tar.gz
  • Loading branch information
HierraStrunger authored Oct 14, 2023
1 parent 6200671 commit 900ae1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailscanner/geoip_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

$files_base_url = 'https://download.maxmind.com';
$file['description'] = __('geoip15');
$file['path'] = '/app/geoip_download?edition_id=GeoLite2-Country&suffix=tar.gz&license_key=' . MAXMIND_LICENSE_KEY;
$file['path'] = '/app/geoip_download?edition_id=GeoLite2-Country&license_key=' . MAXMIND_LICENSE_KEY . '&suffix=tar.gz';
$file['destination'] = __DIR__ . '/temp/GeoLite2-Country.tar.gz';
$file['destinationFileName'] = 'GeoLite2-Country.mmdb';

Expand Down

0 comments on commit 900ae1c

Please sign in to comment.