Skip to content

Commit ee0e1cc

Browse files
committed
Allow a server to join existing installations in expert mode.
1 parent 99c3148 commit ee0e1cc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install/install.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,15 @@
201201
// $conf['server_id'] = $inst->free_query('Unique Numeric ID of the server','1');
202202
// Server ID is an autoInc value of the mysql database now
203203

204-
if(strtolower($inst->simple_query('Create Database',array('y','n'),'y')) == 'y') {
204+
if(strtolower($inst->simple_query('Shall this server join a existing ISPConfig installation? If not, we will create a new database now',array('y','n'),'y')) == 'n') {
205205
//* Create the mysql database
206206
$inst->configure_database();
207207
system('/etc/init.d/mysql restart');
208-
209-
//* Insert the Server record into the database
210-
$inst->add_database_server_record();
211208
}
209+
210+
//* Insert the Server record into the database
211+
$inst->add_database_server_record();
212+
212213

213214
if(strtolower($inst->simple_query('Configure Mail', array('y','n') ,'y') ) == 'y') {
214215

0 commit comments

Comments
 (0)