BugFix-problem with detect_switch (#1633)

This commit is contained in:
Mafoo
2016-06-08 15:28:44 +01:00
committed by FusionPBX
parent 12de451623
commit 1118fd438b
2 changed files with 4 additions and 3 deletions

View File

@@ -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);

View File

@@ -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";