tokul 20 лет назад
Родитель
Сommit
8bd5a10a74
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      class/l10n/streams.class.php

+ 2 - 1
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;