Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #6314 do not display error Warning: shell_exec() [function.shel…
…l-exec]: Unable to execute 'stat -f -c "%T" /proc 2>/dev/null
- Loading branch information
f080302
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of using error silencing, it might be better to catch PHP errors so they can be logged (see https://github.com/piwik/plugin-LoginLdap/blob/master/Ldap/Client.php#L201).