From 42e31077d5111ef592cd3ec8a60b45e7b0d3bdda Mon Sep 17 00:00:00 2001 From: Stricted Date: Thu, 6 Aug 2015 09:39:19 +0200 Subject: [PATCH] fix getUptime(), previous request endpoint returned always zero, now it returns the real internet connection time --- lib/trait/System.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trait/System.class.php b/lib/trait/System.class.php index 4bf7a27..cf58493 100644 --- a/lib/trait/System.class.php +++ b/lib/trait/System.class.php @@ -11,7 +11,7 @@ trait System { * @return string */ public function getUptime () { - $data = $this->getData('LAN'); + $data = $this->getData('Overview'); $data = $this->getValues($data); return $data['days_online']; -- 2.20.1