Просмотр исходного кода

Set the default database during install.

Mark Crane 13 лет назад
Родитель
Сommit
5d0c6806d1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      install.php

+ 1 - 1
install.php

@@ -1609,7 +1609,7 @@ if ($_POST["install_step"] == "3" && count($_POST)>0 && strlen($_POST["persistfo
 	if ($_POST["install_step"] == "2" && $_POST["db_type"] == "pgsql") {
 	if ($_POST["install_step"] == "2" && $_POST["db_type"] == "pgsql") {
 		if (strlen($db_host) == 0) { $db_host = 'localhost'; }
 		if (strlen($db_host) == 0) { $db_host = 'localhost'; }
 		if (strlen($db_port) == 0) { $db_port = '5432'; }
 		if (strlen($db_port) == 0) { $db_port = '5432'; }
-		//if (strlen($db_name) == 0) { $db_name = 'fusionpbx'; }
+		if (strlen($db_name) == 0) { $db_name = 'fusionpbx'; }
 
 
 		echo "<div id='page' align='center'>\n";
 		echo "<div id='page' align='center'>\n";
 		echo "<form method='post' name='frm' action=''>\n";
 		echo "<form method='post' name='frm' action=''>\n";