diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-22 09:06:09 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-22 09:07:14 +0200 |
commit | c16bd50947e0712385d9f4729fd23b6aef76308a (patch) | |
tree | 3ddcba0a4428776a5b5f0cabf53c48386a74833e | |
parent | efe3b62084480b62caf2f01647803b38ed3f3c20 (diff) |
Catch warning on is_readable() failure (open_basedir restriction)
-rw-r--r-- | program/lib/Roundcube/rcube_mime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_mime.php b/program/lib/Roundcube/rcube_mime.php index 596828814..d413c0a7e 100644 --- a/program/lib/Roundcube/rcube_mime.php +++ b/program/lib/Roundcube/rcube_mime.php @@ -795,7 +795,7 @@ class rcube_mime } foreach ($file_paths as $fp) { - if (is_readable($fp)) { + if (@is_readable($fp)) { $lines = file($fp, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); break; } |