Fixed: FS#2323 - Replace fixed localhost setting in install/tpl/mysql_clientdb.conf.master
| | |
| | | } |
| | | |
| | | $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); |
| | |
| | | } |
| | | |
| | | $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); |
| | |
| | | } |
| | | |
| | | $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); |
| | |
| | | <?php |
| | | |
| | | $clientdb_host = 'localhost'; |
| | | $clientdb_host = '{hostname}'; |
| | | $clientdb_user = '{username}'; |
| | | $clientdb_password = '{password}'; |
| | | |