[pLog-svn] r5456 - plog/branches/lifetype-1.2/class/file

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue May 29 15:29:55 EDT 2007


Author: oscar
Date: 2007-05-29 15:29:54 -0400 (Tue, 29 May 2007)
New Revision: 5456

Modified:
   plog/branches/lifetype-1.2/class/file/file.class.php
Log:
Added a chDir() method, just to be consistent (we've already got a createDir() and removeDir() methods...)

Modified: plog/branches/lifetype-1.2/class/file/file.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/file/file.class.php	2007-05-28 09:41:19 UTC (rev 5455)
+++ plog/branches/lifetype-1.2/class/file/file.class.php	2007-05-29 19:29:54 UTC (rev 5456)
@@ -325,7 +325,16 @@
 			 
 			 return true;
 		 }
-
+		
+		 /**
+		  * Change the current directory
+		  *
+		  * @param dir
+		  */
+		 function chDir( $dir )
+		 {
+			 return( chdir( $dir ));
+		 }
 		 
 		 /**
 		  * returns a temporary filename in a pseudo-random manner



More information about the pLog-svn mailing list