From c16bd50947e0712385d9f4729fd23b6aef76308a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 22 May 2013 09:06:09 +0200 Subject: Catch warning on is_readable() failure (open_basedir restriction) --- program/lib/Roundcube/rcube_mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') 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; } -- cgit v1.2.3