mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
640e96bb46
commit
21fe4e5534
@ -13,7 +13,7 @@
|
||||
shell_exec('unzip GeoLiteCity-latest.zip');
|
||||
shell_exec('rm GeoLiteCity-latest.zip');
|
||||
|
||||
if (($Locations = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
if (($Locations = file("GeoLiteCity_".date('Ym')."06/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
error('Download or extraction of maxmind database failed');
|
||||
}
|
||||
array_shift($Locations);
|
||||
@ -32,7 +32,7 @@
|
||||
echo 'There are '.count($CountryIDs).' CountryIDs';
|
||||
echo '<br />';
|
||||
|
||||
if (($Blocks = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
if (($Blocks = file("GeoLiteCity_".date('Ym')."06/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
echo 'Error';
|
||||
}
|
||||
array_shift($Blocks);
|
||||
|
Loading…
Reference in New Issue
Block a user