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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-10-01 04:00:21 +0400
committermattab <matthieu.aubry@gmail.com>2014-10-01 04:00:21 +0400
commitf080302d33067c0e76b7a379022641014cb250ee (patch)
treeb5a61a2aa62c9856525d8dd1536775e5e22d011a /core
parent2e38d64dfe2940a5b1e397251baed45a7d45c11c (diff)
Fixes #6314 do not display error Warning: shell_exec() [function.shell-exec]: Unable to execute 'stat -f -c "%T" /proc 2>/dev/null
Diffstat (limited to 'core')
-rw-r--r--core/CliMulti/Process.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CliMulti/Process.php b/core/CliMulti/Process.php
index 6c5ac165ca..15dc539e59 100644
--- a/core/CliMulti/Process.php
+++ b/core/CliMulti/Process.php
@@ -213,7 +213,7 @@ class Process
}
// Testing if /proc is a resource with @fopen fails on systems with open_basedir set.
// by using stat we not only test the existance of /proc but also confirm it's a 'proc' filesystem
- $type = shell_exec('stat -f -c "%T" /proc 2>/dev/null');
+ $type = @shell_exec('stat -f -c "%T" /proc 2>/dev/null');
return strpos($type, 'proc') === 0;
}