[pLog-svn] r4718 - plog/branches/lifetype-1.2/class/misc

reto at devel.lifetype.net reto at devel.lifetype.net
Mon Feb 12 13:13:30 EST 2007


Author: reto
Date: 2007-02-12 13:13:30 -0500 (Mon, 12 Feb 2007)
New Revision: 4718

Modified:
   plog/branches/lifetype-1.2/class/misc/version.class.php
Log:
fix for the version-fix. include is indeed better. Else only the first Version::getVersion() call would return the version. thanks jon :)


Modified: plog/branches/lifetype-1.2/class/misc/version.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/misc/version.class.php	2007-02-11 17:20:12 UTC (rev 4717)
+++ plog/branches/lifetype-1.2/class/misc/version.class.php	2007-02-12 18:13:30 UTC (rev 4718)
@@ -27,7 +27,7 @@
 			$version = "undefined";
 
             if( File::isReadable( $versionFile )) {
-                include_once( $versionFile );
+                include( $versionFile );
             } else {
                 $version = "UNKNOWN";
             }



More information about the pLog-svn mailing list