diff --git a/GameEngine/Generator.php b/GameEngine/Generator.php index 296900c3..aff11e96 100755 --- a/GameEngine/Generator.php +++ b/GameEngine/Generator.php @@ -148,17 +148,11 @@ if (date('Ymd',time()) == date('Ymd',$time)) { } public function pageLoadTimeStart() { - $starttime = microtime(); - $startarray = explode(" ", $starttime); - //$starttime = $startarray[1] + $startarray[0]; - return $startarray[0]; + return microtime(true); } public function pageLoadTimeEnd() { - $endtime = microtime(); - $endarray = explode(" ", $endtime); - //$endtime = $endarray[1] + $endarray[0]; - return $endarray[0]; + return microtime(true); } };