diff options
author | Michal Čihař <michal@cihar.com> | 2016-02-12 15:24:39 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-02-12 15:45:04 +0300 |
commit | 53b1f9adcc5882838161d3aa6289d93385053fbe (patch) | |
tree | 400a732f6c275ca98531aeb8f8b221a76db0edc1 /license.php | |
parent | e50a445d17525a8f04e57241a58f3517d1abaa86 (diff) |
Silent errors on checking for files and folders
Fixes #11951
Fixes #11952
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'license.php')
-rw-r--r-- | license.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/license.php b/license.php index 7348af874f..62f3a15d48 100644 --- a/license.php +++ b/license.php @@ -22,7 +22,7 @@ header('Content-type: text/plain; charset=utf-8'); $filename = LICENSE_FILE; // Check if the file is available, some distributions remove these. -if (is_readable($filename)) { +if (@is_readable($filename)) { readfile($filename); } else { printf( |