mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Replaced custom utime() function with microtime(true)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user