Эх сурвалжийг харах

BugFix-problem with detect_switch (#1633)

Mafoo 9 жил өмнө
parent
commit
2d83458c7d

+ 2 - 2
core/install/install.php

@@ -181,10 +181,10 @@
 		elseif (strlen($admin_password) < 5) { $messages[] = "Please provide an Admin Password that is 5 or more characters.<br>\n"; }
 		if ( count($messages) > $existing_errors) { $install_step = 'config_detail'; }
 	}
-	if($re_detect_switch == true ){
+	if($re_detect_switch === true ){
 		$install_step = 'detect_config';
 	}
-	
+
 	if($install_step =='execute') {
 		//set the max execution time to 1 hour
 		ini_set('max_execution_time',3600);

+ 2 - 1
core/install/resources/page_parts/install_event_socket.php

@@ -35,7 +35,8 @@
 		$detect_ok = false;
 	}
 	echo "<input type='hidden' name='install_language' value='".$_SESSION['domain']['language']['code']."'/>\n";
-	echo "<input type='hidden' name='install_step' value='detect_config'/>\n";
+	echo "<input type='hidden' name='install_step' value='config_detail'/>\n";
+	echo "<input type='hidden' name='return_install_step' value='select_language'/>\n";
 	echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
 
 	echo "<tr>\n";