Replaced depreciated function.

pull/192/head
Joe Prochazka 2016-05-10 14:16:17 -04:00
rodzic 3df19fd384
commit bf04929a3c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -133,7 +133,7 @@
}
function getUptimeInformation() {
$uptimeArray = split(' ', exec("cat /proc/uptime"));
$uptimeArray = explode(' ', exec("cat /proc/uptime"));
$uptime['inSeconds'] = trim($uptimeArray[0]);
$uptime['hours'] = floor($uptime['inSeconds'] / 3600);
$uptime['minutes'] = floor(($uptime['inSeconds'] - ($uptime['hours'] * 3600)) / 60);