[pLog-svn] r941 - plog/trunk/class/file

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Feb 4 08:05:19 GMT 2005


Author: oscar
Date: 2005-02-04 08:05:18 +0000 (Fri, 04 Feb 2005)
New Revision: 941

Modified:
   plog/trunk/class/file/file.class.php
Log:
fixed issue 210 (http://bugs.plogworld.net/view.php?id=210)


Modified: plog/trunk/class/file/file.class.php
===================================================================
--- plog/trunk/class/file/file.class.php	2005-02-04 05:54:36 UTC (rev 940)
+++ plog/trunk/class/file/file.class.php	2005-02-04 08:05:18 UTC (rev 941)
@@ -166,6 +166,8 @@
 		 {
 			 if( $file == null )
 				 $file = $this->_fileName;
+				 
+			clearstatcache();
 			 
 			 return is_readable( $file );
 		 }
@@ -357,6 +359,8 @@
 		 {
 			 if( $fileName == null )
 				 $fileName = $this->_fileName;
+				 
+			clearstatcache();
 			 
 			 return file_exists( $fileName );
 		 } 




More information about the pLog-svn mailing list