projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Invalid initialization of To: header (#1772893).
[squirrelmail.git]
/
class
/
l10n
/
streams.class.php
diff --git
a/class/l10n/streams.class.php
b/class/l10n/streams.class.php
index 9985d1298e91b121cc6038303bd7ad4cd10a022f..1515a029b0de7d8ea2edae6a6538ef1cd613fe9e 100644
(file)
--- a/
class/l10n/streams.class.php
+++ b/
class/l10n/streams.class.php
@@
-1,4
+1,5
@@
<?php
<?php
+
/**
* Copyright (c) 2003 Danilo Segan <danilo@kvota.net>.
*
/**
* Copyright (c) 2003 Danilo Segan <danilo@kvota.net>.
*
@@
-16,8
+17,12
@@
*
* You should have received a copy of the GNU General Public License
* along with PHP-gettext; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with PHP-gettext; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301, USA
*
*
+ * @copyright © 2004-2007 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package squirrelmail
* @subpackage i18n
*/
* @package squirrelmail
* @subpackage i18n
*/
@@
-58,7
+63,8
@@
class FileReader {
* @return boolean false there is a problem with $filename
*/
function FileReader($filename) {
* @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;
$this->_length=filesize($filename);
$this->_pos = 0;
@@
-120,4
+126,3
@@
class FileReader {
fclose($this->_fd);
}
}
fclose($this->_fd);
}
}
-?>
\ No newline at end of file