diff --git a/install/install.php b/install/install.php index ef6a8fb7008eb40eb6b057467e19e06a96b888d9..d953964acbd421ba8d85fa1d75ac9240f890ce87 100644 --- a/install/install.php +++ b/install/install.php @@ -217,6 +217,7 @@ if($install_mode == 'Standard') { //* Insert the Server record into the database swriteln('Adding ISPConfig server record to database.'); + swriteln(''); $inst->add_database_server_record(); diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index d94b94cf5cb1fbc59bb69b538cc42714afc6a62f..3fc97870a6024bf11e2b51be0883269e3aa29478 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -172,7 +172,7 @@ class installer_base { $server_ini_content = rf("tpl/server.ini.master"); $server_ini_content = addslashes($server_ini_content); - $sql = "INSERT INTO `server` (`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_name`, `mail_server`, `web_server`, `dns_server`, `file_server`, `db_server`, `vserver_server`, `config`, `updated`, `active`) VALUES (1, 1, 'riud', 'riud', 'r', 'Server', 1, 1, 1, 1, 1, 1, '$server_ini_content', 0, 1);"; + $sql = "INSERT INTO `server` (`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_name`, `mail_server`, `web_server`, `dns_server`, `file_server`, `db_server`, `vserver_server`, `config`, `updated`, `active`) VALUES (1, 1, 'riud', 'riud', 'r', '".$this->conf['hostname']."', 1, 1, 1, 1, 1, 1, '$server_ini_content', 0, 1);"; $this->db->query($sql); $conf['server_id'] = $this->db->insertID(); $this->conf['server_id'] = $conf['server_id'];