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
lolo888
ISPConfig 3
Commits
ed666d97
Commit
ed666d97
authored
Sep 17, 2009
by
tbrehm
Browse files
Fixed: FS#883 - Webtraffic bug with 2 server in SVN Version
parent
434907e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/update.php
View file @
ed666d97
...
...
@@ -100,6 +100,11 @@ if(isset($conf_old["dbmaster_database"])) $conf["mysql"]["master_database"] = $c
if
(
isset
(
$conf_old
[
"dbmaster_user"
]))
$conf
[
"mysql"
][
"master_ispconfig_user"
]
=
$conf_old
[
"dbmaster_user"
];
if
(
isset
(
$conf_old
[
"dbmaster_password"
]))
$conf
[
"mysql"
][
"master_ispconfig_password"
]
=
$conf_old
[
"dbmaster_password"
];
//* Check if this is a master / slave setup
if
(
$conf
[
"mysql"
][
"master_host"
]
!=
''
&&
$conf
[
"mysql"
][
"host"
]
!=
$conf
[
"mysql"
][
"master_host"
])
{
$conf
[
'mysql'
][
'master_slave_setup'
]
=
'y'
;
}
// Resolve the IP address of the mysql hostname.
if
(
!
$conf
[
'mysql'
][
'ip'
]
=
gethostbyname
(
$conf
[
'mysql'
][
'host'
]))
die
(
'Unable to resolve hostname'
.
$conf
[
'mysql'
][
'host'
]);
...
...
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