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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-02-12 15:24:39 +0300
committerMichal Čihař <michal@cihar.com>2016-02-12 15:45:04 +0300
commit53b1f9adcc5882838161d3aa6289d93385053fbe (patch)
tree400a732f6c275ca98531aeb8f8b221a76db0edc1 /license.php
parente50a445d17525a8f04e57241a58f3517d1abaa86 (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.php2
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(