summaryrefslogtreecommitdiff
path: root/libs/system.php
diff options
context:
space:
mode:
authorShevAbam <shevabam@gmail.com>2015-01-16 18:14:07 +0100
committerShevAbam <shevabam@gmail.com>2015-01-16 18:14:07 +0100
commit3ed4c1d633f3ddfc50d921c5d5c19ebf7cf640c4 (patch)
treefe135c5868a41cecfae98294facb61accea76912 /libs/system.php
parentc3ec82dd6f60ac8057cc50d9bf6274738db9c02e (diff)
CPU : changes on retrieving CPU information
Load Average and CPU : fix on recovery the number of CPU cores Last login : the datas are retrieved differently
Diffstat (limited to 'libs/system.php')
-rw-r--r--libs/system.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/system.php b/libs/system.php
index 49232ef..7e40e3b 100644
--- a/libs/system.php
+++ b/libs/system.php
@@ -15,6 +15,7 @@ if (!($os = shell_exec('/usr/bin/lsb_release -ds')))
}
}
}
+$os = trim($os, '"');
// Kernel
if (!($kernel = shell_exec('/bin/uname -r')))