diff --git a/sections/tools/development/update_geoip.php b/sections/tools/development/update_geoip.php index 6ddfaaa2..1e226a1b 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')."05/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Locations = file("GeoLiteCity_".date('Ym')."03/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')."05/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { +if (($Blocks = file("GeoLiteCity_".date('Ym')."03/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { echo 'Error'; } array_shift($Blocks); diff --git a/sections/user/user.php b/sections/user/user.php index 5358cd7a..a5d305f1 100644 --- a/sections/user/user.php +++ b/sections/user/user.php @@ -270,7 +270,7 @@ function check_paranoia_here($Setting) { } if (($Override = check_paranoia_here('requiredratio')) && isset($RequiredRatio)) { ?> - >Required Ratio: + >Required Ratio: