<?php
+
/**
* Copyright (c) 2003 Danilo Segan <danilo@kvota.net>.
*
* along with PHP-gettext; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
+ * @copyright © 2004-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package squirrelmail
* @subpackage i18n
*/
* @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;
fclose($this->_fd);
}
}
-?>
\ No newline at end of file