From 392de6fb517823060c77294fbd9d1698f3280eb7 Mon Sep 17 00:00:00 2001 From: tokul Date: Wed, 3 Aug 2005 12:21:32 +0000 Subject: [PATCH] chmod 700 locale git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9893 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/l10n/streams.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/class/l10n/streams.class.php b/class/l10n/streams.class.php index 9985d129..b13cbe7f 100644 --- a/class/l10n/streams.class.php +++ b/class/l10n/streams.class.php @@ -58,7 +58,8 @@ class FileReader { * @return boolean false there is a problem with $filename */ function FileReader($filename) { - if (file_exists($filename)) { + // disable stat warnings for unreadable directories + if (@file_exists($filename)) { $this->_length=filesize($filename); $this->_pos = 0; -- 2.25.1