Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
ee0e1cc0
Commit
ee0e1cc0
authored
May 29, 2008
by
tbrehm
Browse files
Allow a server to join existing installations in expert mode.
parent
99c31484
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/install.php
View file @
ee0e1cc0
...
...
@@ -201,14 +201,15 @@ if($install_mode == 'Standard') {
// $conf['server_id'] = $inst->free_query('Unique Numeric ID of the server','1');
// Server ID is an autoInc value of the mysql database now
if
(
strtolower
(
$inst
->
simple_query
(
'
Create D
atabase'
,
array
(
'y'
,
'n'
),
'y'
))
==
'
y
'
)
{
if
(
strtolower
(
$inst
->
simple_query
(
'
Shall this server join a existing ISPConfig installation? If not, we will create a new d
atabase
now
'
,
array
(
'y'
,
'n'
),
'y'
))
==
'
n
'
)
{
//* Create the mysql database
$inst
->
configure_database
();
system
(
'/etc/init.d/mysql restart'
);
//* Insert the Server record into the database
$inst
->
add_database_server_record
();
}
//* Insert the Server record into the database
$inst
->
add_database_server_record
();
if
(
strtolower
(
$inst
->
simple_query
(
'Configure Mail'
,
array
(
'y'
,
'n'
)
,
'y'
)
)
==
'y'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment