Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-21 16:00:59 +0300
committerJoas Schilling <coding@schilljs.com>2016-12-21 16:00:59 +0300
commitf96b82f050351c213d90fb2366afb24d0490e270 (patch)
treefb652baf9ab1dba9b8465fe1757476686d5e8446 /lib
parent0f6e2beed3ee82a6dc3547d221eb30c02b314538 (diff)
Silence, I kill you
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/SystemStatistics.php2
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'];
}