From: tokul Date: Wed, 3 Aug 2005 12:21:32 +0000 (+0000) Subject: chmod 700 locale X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=392de6fb517823060c77294fbd9d1698f3280eb7;p=squirrelmail.git chmod 700 locale git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9893 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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;