[pLog-svn] r4762 - plog/branches/lifetype-1.2/class/file
    oscar at devel.lifetype.net 
    oscar at devel.lifetype.net
       
    Sun Feb 18 15:27:50 EST 2007
    
    
  
Author: oscar
Date: 2007-02-18 15:27:50 -0500 (Sun, 18 Feb 2007)
New Revision: 4762
Modified:
   plog/branches/lifetype-1.2/class/file/file.class.php
Log:
Minor code optimization.
Modified: plog/branches/lifetype-1.2/class/file/file.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/file/file.class.php	2007-02-18 20:22:47 UTC (rev 4761)
+++ plog/branches/lifetype-1.2/class/file/file.class.php	2007-02-18 20:27:50 UTC (rev 4762)
@@ -82,7 +82,7 @@
 			 
 			 $contents = file( $this->_fileName );
 			 
-			 for( $i = 0; $i < count( $contents ); $i++ )
+			 for( $i = 0, $elements = count( $contents ); $i < total; $i++ )
 				 $contents[$i] = trim( $contents[$i] );
 			 
 			 return $contents;
    
    
More information about the pLog-svn
mailing list