[pLog-svn] r5509 - plog/branches/lifetype-1.2

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Jun 7 16:30:26 EDT 2007


Author: oscar
Date: 2007-06-07 16:30:26 -0400 (Thu, 07 Jun 2007)
New Revision: 5509

Modified:
   plog/branches/lifetype-1.2/wizard.php
Log:
After listening to Mark's and Jon's feedback about stopping the installation process if the version of some files is not the expected one, now this check will only generate a warning rather than an error if there is an issue with any file.

Modified: plog/branches/lifetype-1.2/wizard.php
===================================================================
--- plog/branches/lifetype-1.2/wizard.php	2007-06-07 20:23:47 UTC (rev 5508)
+++ plog/branches/lifetype-1.2/wizard.php	2007-06-07 20:30:26 UTC (rev 5509)
@@ -1,4 +1,4 @@
-<?php
+|<?php
 
     if (!defined( "PLOG_CLASS_PATH" )) {
         define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
@@ -452,7 +452,7 @@
         {
             $this->WizardValidator( "Checking that all files have been correctly uploaded", 
                                     "will be set later on...",
-                                    true );
+                                    false );
         }    
     
         function validate()
@@ -468,8 +468,7 @@
 			if( !$this->_valid ) {
 				/* let's modify a private attribute... */
 				$fileList = implode( "<br/>", array_keys( $result ));
-				$this->_solution = "The following files are not correct, installation cannot continue until they are replaced
-				                    with the correct versions:"."<br/>".$fileList;				
+				$this->_solution = "The current version of the following is not the expected one. Installation can proceed please make sure that all files were uploaded correctly:"."<br/>".$fileList;				
 			}
 
             return( parent::validate());



More information about the pLog-svn mailing list