projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8abe3
)
fix getUptime(), previous request endpoint returned always zero, now it returns the...
author
Stricted
<info@stricted.de>
Thu, 6 Aug 2015 07:39:19 +0000
(09:39 +0200)
committer
Stricted
<info@stricted.de>
Thu, 6 Aug 2015 07:39:19 +0000
(09:39 +0200)
lib/trait/System.class.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/trait/System.class.php
b/lib/trait/System.class.php
index 4bf7a279b404abebb1f6b7013c833a89adf3e7f5..cf5849377b4befba89743323aa3235a8d1cacb7f 100644
(file)
--- 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'];