diff options
-rw-r--r-- | lib/SystemStatistics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SystemStatistics.php b/lib/SystemStatistics.php index 02c3c48..dd483a5 100644 --- a/lib/SystemStatistics.php +++ b/lib/SystemStatistics.php @@ -68,7 +68,7 @@ class SystemStatistics { * @return array with the two values 'mem_free' and 'mem_total' */ protected function getMemoryUsage() { - $memoryUsage = file_get_contents('/proc/meminfo'); + $memoryUsage = @file_get_contents('/proc/meminfo'); if ($memoryUsage === false) { return ['mem_free' => 'N/A', 'mem_total' => 'N/A']; } |