summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/inc/remotereport.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-06-29 12:59:06 +0200
committerSimon Rettberg2020-07-30 13:27:06 +0200
commite7161cf21fc29c4de60e3444f7ea079e991b889a (patch)
treef461a4e23eef927c392c87df19066c7cef7a95ec /modules-available/statistics_reporting/inc/remotereport.inc.php
parent[locationinfo] Add option to show hostnames (diff)
downloadslx-admin-e7161cf21fc29c4de60e3444f7ea079e991b889a.tar.gz
slx-admin-e7161cf21fc29c4de60e3444f7ea079e991b889a.tar.xz
slx-admin-e7161cf21fc29c4de60e3444f7ea079e991b889a.zip
[statistics_reporting] Fix numer of unique users and server CPU model
Diffstat (limited to 'modules-available/statistics_reporting/inc/remotereport.inc.php')
-rw-r--r--modules-available/statistics_reporting/inc/remotereport.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics_reporting/inc/remotereport.inc.php b/modules-available/statistics_reporting/inc/remotereport.inc.php
index fa84e7e5..f8f54a86 100644
--- a/modules-available/statistics_reporting/inc/remotereport.inc.php
+++ b/modules-available/statistics_reporting/inc/remotereport.inc.php
@@ -108,7 +108,7 @@ class RemoteReport
}
//
$data = array();
- $data['cpuCount'] = preg_match_all('/\bprocessor\s+:\s+(.*)$/m', $cpuInfo, $out);
+ $data['cpuCount'] = preg_match_all('/\bmodel name\s+:\s+(.*)$/m', $cpuInfo, $out);
if ($data['cpuCount'] > 0) {
$data['cpuModel'] = $out[1][0];
}