chmod 700 locale
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 3 Aug 2005 12:21:32 +0000 (12:21 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 3 Aug 2005 12:21:32 +0000 (12:21 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9893 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/l10n/streams.class.php

index 9985d12..b13cbe7 100644 (file)
@@ -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;