summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_mime.php
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:06:09 +0200
commit656005f056030b278aa96047f405bb802644a516 (patch)
tree7b32d3527fb6083e94ec092865ea61cd895f8c1e /program/lib/Roundcube/rcube_mime.php
parentd16f90a1e2450a1386f9fb1af1ea8e44352079c4 (diff)
Catch warning on is_readable() failure (open_basedir restriction)
Diffstat (limited to 'program/lib/Roundcube/rcube_mime.php')
-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;
}