From 3ed4c1d633f3ddfc50d921c5d5c19ebf7cf640c4 Mon Sep 17 00:00:00 2001 From: ShevAbam Date: Fri, 16 Jan 2015 18:14:07 +0100 Subject: 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 --- libs/system.php | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/system.php') 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'))) -- cgit v1.3