From 71c16ae676f5df985a930e10628f8363d9c0667c Mon Sep 17 00:00:00 2001 From: nean Date: Tue, 22 May 2012 19:59:55 +0530 Subject: [PATCH] minor pageload time fix ! --- statistiken.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statistiken.php b/statistiken.php index 49b63cdc..fd946efd 100644 --- a/statistiken.php +++ b/statistiken.php @@ -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");
Calculated in pageLoadTimeEnd()-$start)*1000); +echo round(($generator->pageLoadTimeEnd()-$__start)*1000); ?> ms
Server time: