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:06:09 +0200 |
commit | 656005f056030b278aa96047f405bb802644a516 (patch) | |
tree | 7b32d3527fb6083e94ec092865ea61cd895f8c1e /program/lib/Roundcube/rcube_mime.php | |
parent | d16f90a1e2450a1386f9fb1af1ea8e44352079c4 (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.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; } |