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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Mar 2 09:59:14 EST 2007


Author: jondaley
Date: 2007-03-02 09:59:13 -0500 (Fri, 02 Mar 2007)
New Revision: 4912

Modified:
   plog/trunk/class/file/file.class.php
Log:
don't delete excluded files from subdirectories either

Modified: plog/trunk/class/file/file.class.php
===================================================================
--- plog/trunk/class/file/file.class.php	2007-03-02 14:18:01 UTC (rev 4911)
+++ plog/trunk/class/file/file.class.php	2007-03-02 14:59:13 UTC (rev 4912)
@@ -269,7 +269,7 @@
 				if( File::isDir( $file ) && array_search(basename( $file ), $excludedFiles) === false) {
 					// perform a recursive call if we were allowed to do so
 					if( $recursive ) {
-						File::deleteDir( $file, $recursive, $onlyFiles );
+						File::deleteDir( $file, $recursive, $onlyFiles, $excludedFiles );
 					}
 				}
 



More information about the pLog-svn mailing list