From aa5ed5a691a11b29e01aa6b2580d397b8f4c536f Mon Sep 17 00:00:00 2001 From: Git Date: Wed, 5 Feb 2014 08:01:05 +0000 Subject: [PATCH] Empty commit --- docs/CHANGES.txt | 3 +++ sections/tools/development/update_geoip.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index cf63e6cf..efe934a4 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -1,5 +1,8 @@ CHANGE LOG +2014-02-05 by lenrek +Fix file modes for numerous files (755 to 644) + 2014-01-28 by alderaan Adv. User Search: Replace date format tooltips with "placeholder" HTML attributes diff --git a/sections/tools/development/update_geoip.php b/sections/tools/development/update_geoip.php index 1e226a1b..a4ea3632 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')."03/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Locations = file("GeoLiteCity_".date('Ym')."07/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')."03/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Blocks = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { echo 'Error'; } array_shift($Blocks);