diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-21 16:00:59 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-21 16:00:59 +0300 |
commit | f96b82f050351c213d90fb2366afb24d0490e270 (patch) | |
tree | fb652baf9ab1dba9b8465fe1757476686d5e8446 /lib/SystemStatistics.php | |
parent | 0f6e2beed3ee82a6dc3547d221eb30c02b314538 (diff) |
Silence, I kill you
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/SystemStatistics.php')
-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']; } |