Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished.

This commit is contained in:
markjcrane
2016-03-26 13:36:00 -06:00
parent 883a0ecdeb
commit ac4aef20b0
2 changed files with 10 additions and 15 deletions
-3
View File
@@ -204,9 +204,6 @@
include "resources/page_parts/install_select_language.php";
echo " <input type='hidden' name='return_install_step' value='select_language'/>\n";
echo " <input type='hidden' name='install_step' value='detect_config'/>\n";
echo " <div style='text-align:right'>\n";
echo " <input type='submit' class='btn' id='next' value='".$text['button-next']."'>\n";
echo " </div>\n";
echo "</form>\n";
} elseif($install_step == 'detect_config'){
if(!($event_host == '' || $event_host == 'localhost' || $event_host == '::1' || $event_host == '127.0.0.1' )){