Skip to content

Commit a78dfc6

Browse files
committed
Added config values for master DB to config.inc.php template.
1 parent 01423fd commit a78dfc6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

install/tpl/config.inc.php.master

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ define("DB_PASSWORD",$conf["db_password"]);
6363
define("DB_CHARSET",$conf["db_charset"]);
6464

6565

66+
//** Database settings for the master DB. This setting is only used in multiserver setups
67+
$conf["dbmaster_type"] = 'mysql';
68+
$conf["dbmaster_host"] = '{mysql_master_server_host}';
69+
$conf["dbmaster_database"] = '{mysql_master_server_database}';
70+
$conf["dbmaster_user"] = '{mysql_master_server_ispconfig_user}';
71+
$conf["dbmaster_password"] = '{mysql_master_server_ispconfig_password}';
72+
73+
6674
//** Paths
6775
define('ISPC_ROOT_PATH', realpath(dirname(__FILE__).'/../')); // The main ROOT is the parent directory to this file, ie Interface/. NO trailing slashes.
6876
define('ISPC_LIB_PATH', ISPC_ROOT_PATH.'/lib');
@@ -129,4 +137,4 @@ define("LOGLEVEL_DEBUG",0);
129137
define("LOGLEVEL_WARN",1);
130138
define("LOGLEVEL_ERROR",2);
131139

132-
?>
140+
?>

0 commit comments

Comments
 (0)