Replaced custom utime() function with microtime(true)

This commit is contained in:
Mike Rostermund
2016-01-08 13:33:32 +01:00
parent 6ac4a5c232
commit e2d1a8e7d9
8 changed files with 14 additions and 29 deletions

View File

@@ -72,7 +72,7 @@ $config['memcached']['ttl'] = $config['time']['now']+300;
Plugins::start();
$runtime_start = utime();
$runtime_start = microtime(true);
ob_start();
@@ -263,7 +263,7 @@ else {
</div>
<?php
$runtime_end = utime();
$runtime_end = microtime(true);
$runtime = $runtime_end - $runtime_start;
$gentime = substr($runtime, 0, 5);