tbrehm
2012-08-15 0fed3bec53dae6697fbbae20e2349ad9a2298bb5
Fixed: FS#2323 - Replace fixed localhost setting in install/tpl/mysql_clientdb.conf.master
4 files modified
5 ■■■■ changed files
install/dist/lib/fedora.lib.php 1 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 1 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php 1 ●●●● patch | view | raw | blame | history
install/tpl/mysql_clientdb.conf.master 2 ●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php
@@ -1072,6 +1072,7 @@
        }
        
        $content = rf("tpl/mysql_clientdb.conf.master");
        $content = str_replace('{hostname}',$conf['mysql']['host'],$content);
        $content = str_replace('{username}',$conf['mysql']['admin_user'],$content);
        $content = str_replace('{password}',$conf['mysql']['admin_password'], $content);
        wf("$install_dir/server/lib/mysql_clientdb.conf",$content);
install/dist/lib/opensuse.lib.php
@@ -1115,6 +1115,7 @@
        }
        
        $content = rf("tpl/mysql_clientdb.conf.master");
        $content = str_replace('{hostname}',$conf['mysql']['host'],$content);
        $content = str_replace('{username}',$conf['mysql']['admin_user'],$content);
        $content = str_replace('{password}',$conf['mysql']['admin_password'], $content);
        wf("$install_dir/server/lib/mysql_clientdb.conf",$content);
install/lib/installer_base.lib.php
@@ -2008,6 +2008,7 @@
        }
        $content = rf('tpl/mysql_clientdb.conf.master');
        $content = str_replace('{hostname}',$conf['mysql']['host'],$content);
        $content = str_replace('{username}',$conf['mysql']['admin_user'],$content);
        $content = str_replace('{password}',$conf['mysql']['admin_password'], $content);
        wf($install_dir.'/server/lib/mysql_clientdb.conf',$content);
install/tpl/mysql_clientdb.conf.master
@@ -1,6 +1,6 @@
<?php
$clientdb_host            = 'localhost';
$clientdb_host            = '{hostname}';
$clientdb_user            = '{username}';
$clientdb_password        = '{password}';