Empty commit

This commit is contained in:
Git 2013-12-14 08:01:00 +00:00
parent 267289e6b9
commit 9fd752b9fb
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
shell_exec('unzip GeoLiteCity-latest.zip'); shell_exec('unzip GeoLiteCity-latest.zip');
shell_exec('rm 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'); error('Download or extraction of maxmind database failed');
} }
array_shift($Locations); array_shift($Locations);
@ -32,7 +32,7 @@
echo 'There are '.count($CountryIDs).' CountryIDs'; echo 'There are '.count($CountryIDs).' CountryIDs';
echo '<br />'; echo '<br />';
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'; echo 'Error';
} }
array_shift($Blocks); array_shift($Blocks);

View File

@ -270,7 +270,7 @@ function check_paranoia_here($Setting) {
} }
if (($Override = check_paranoia_here('requiredratio')) && isset($RequiredRatio)) { if (($Override = check_paranoia_here('requiredratio')) && isset($RequiredRatio)) {
?> ?>
<li<?=($Override === 2 ? ' class="paranoia_override"' : '')?>>Required Ratio: <?=number_format((double)$RequiredRatio, 2)?></li> <li<?=($Override === 2 ? ' class="paranoia_override"' : '')?>>Required Ratio: <span class="tooltip" title="<?=number_format((double)$RequiredRatio, 5)?>"><?=number_format((double)$RequiredRatio, 2)?></span></li>
<? <?
} }
if ($OwnProfile || ($Override = check_paranoia_here(false)) || check_perms('users_mod')) { if ($OwnProfile || ($Override = check_paranoia_here(false)) || check_perms('users_mod')) {