mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 20:34:21 +00:00
minor pageload time fix !
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
include("GameEngine/Village.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
$__start = $generator->pageLoadTimeStart();
|
||||
if(isset($_GET['rank'])){ $_POST['rank']==$_GET['rank']; }
|
||||
$ranking->procRankReq($_GET);
|
||||
$ranking->procRank($_POST);
|
||||
@@ -157,7 +157,7 @@ include("Templates/res.tpl");
|
||||
<div id="ltime">
|
||||
<div id="ltimeWrap">
|
||||
Calculated in <b><?php
|
||||
echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
echo round(($generator->pageLoadTimeEnd()-$__start)*1000);
|
||||
?></b> ms
|
||||
|
||||
<br />Server time: <span id="tp1" class="b"><?php echo date('H:i:s'); ?></span>
|
||||
|
||||
Reference in New Issue
Block a user