diff --git a/index.php b/index.php index 17e7970..1971e69 100644 --- a/index.php +++ b/index.php @@ -22,6 +22,7 @@ ?forceupdate=sectors ?forceupdate=systems */ +/* $updateinterval = 365; $updatesectors = false; $updatesystems = false; @@ -40,6 +41,7 @@ default: break; } } +*/ /* FUNTIONS @@ -121,6 +123,7 @@ function flieDownloadCSV( $array, $filename = "export.csv", $delimiter="\t" ) /* Read and write all sectors and factions inside */ +/* $lastupdatesectors = fileHowOld($fil_sectors); if ( (!file_exists($fil_sectors) OR !file_exists("factions")) OR $lastupdatesectors>$updateinterval ){ $start_index = 1; @@ -167,9 +170,11 @@ function flieDownloadCSV( $array, $filename = "export.csv", $delimiter="\t" ) $sectors = fileLoad($fil_sectors); $factions = fileLoad($fil_factions); } +*/ /* Read and write all systems */ +/* $lastupdatesystems = fileHowOld($fil_systems); if ( !file_exists($fil_systems) OR $lastupdatesystems>$updateinterval){ $start_index = 1; @@ -219,7 +224,10 @@ function flieDownloadCSV( $array, $filename = "export.csv", $delimiter="\t" ) }else{ $systems = fileLoad($fil_systems); } - +*/ +$sectors = fileLoad($fil_sectors); +$factions = fileLoad($fil_factions); +$systems = fileLoad($fil_systems); /* Download file when ?getmap=UID @@ -628,7 +636,7 @@ function mySearchableList() { $api = $api[1]; echo '
'; - echo ''; + echo ''; echo '

'.$meta['site'].'  '. _VERSION . '
'.$meta['desc'].'

'; echo 'Download Template to work with'; echo '