fix: "generated in" fix for Rally Point

This commit is contained in:
Martin Ambrus
2017-10-17 16:18:15 +02:00
parent 2b12f16b3d
commit fb8a7fcd74
+3 -3
View File
@@ -21,7 +21,7 @@ if($_GET['id'] == 99 && $village->natar == 0){
header("Location: dorf2.php");
}
$start = $generator->pageLoadTimeStart();
$pagestart = $generator->pageLoadTimeStart();
$alliance->procAlliForm($_POST);
$technology->procTech($_POST);
$market->procMarket($_POST);
@@ -379,8 +379,8 @@ include("Templates/res.tpl");
<div id="stime">
<div id="ltime">
<div id="ltimeWrap">
Calculated in <b><?php
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
<?php echo CALCULATED_IN;?> <b><?php
echo round(($generator->pageLoadTimeEnd()-$pagestart)*1000);
?></b> ms
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>