summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-22 09:06:09 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-22 09:07:14 +0200
commitc16bd50947e0712385d9f4729fd23b6aef76308a (patch)
tree3ddcba0a4428776a5b5f0cabf53c48386a74833e /program/lib/Roundcube
parentefe3b62084480b62caf2f01647803b38ed3f3c20 (diff)
Catch warning on is_readable() failure (open_basedir restriction)
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube_mime.php2
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;
}