From 79651cb0aab98d4fd3e064ca600f75c4a54d15e8 Mon Sep 17 00:00:00 2001 From: Git Date: Thu, 20 Feb 2014 08:00:32 +0000 Subject: [PATCH] Empty commit --- sections/tools/development/update_geoip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/tools/development/update_geoip.php b/sections/tools/development/update_geoip.php index a4ea3632..fd0c821a 100644 --- a/sections/tools/development/update_geoip.php +++ b/sections/tools/development/update_geoip.php @@ -13,7 +13,7 @@ shell_exec('unzip GeoLiteCity-latest.zip'); shell_exec('rm GeoLiteCity-latest.zip'); -if (($Locations = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Locations = file("GeoLiteCity_".date('Ym')."04/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 '
'; -if (($Blocks = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Blocks = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { echo 'Error'; } array_shift($Blocks);