We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434907e commit ed666d9Copy full SHA for ed666d9
install/update.php
@@ -100,6 +100,11 @@
100
if(isset($conf_old["dbmaster_user"])) $conf["mysql"]["master_ispconfig_user"] = $conf_old["dbmaster_user"];
101
if(isset($conf_old["dbmaster_password"])) $conf["mysql"]["master_ispconfig_password"] = $conf_old["dbmaster_password"];
102
103
+//* Check if this is a master / slave setup
104
+if($conf["mysql"]["master_host"] != '' && $conf["mysql"]["host"] != $conf["mysql"]["master_host"]) {
105
+ $conf['mysql']['master_slave_setup'] = 'y';
106
+}
107
+
108
// Resolve the IP address of the mysql hostname.
109
if(!$conf['mysql']['ip'] = gethostbyname($conf['mysql']['host'])) die('Unable to resolve hostname'.$conf['mysql']['host']);
110
0 commit comments