From: <ral...@us...> - 2015-07-28 07:25:31
|
Author: ralfbecker Date: Tue Jul 28 09:25:23 2015 New Revision: 53217 URL: http://svn.stylite.de/viewvc/egroupware?rev=53217&view=rev Log: fix for multiple semicolon separated mysql host names Modified: trunk/phpfreechat/phpfreechat_config.php Modified: trunk/phpfreechat/phpfreechat_config.php URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpfreechat/phpfreechat_config.php?rev=53217&r1=53216&r2=53217&view=diff ============================================================================== --- trunk/phpfreechat/phpfreechat_config.php (original) +++ trunk/phpfreechat/phpfreechat_config.php Tue Jul 28 09:25:23 2015 @@ -193,7 +193,7 @@ container_cfg_mysql_password : password to identify the username that connects to the database. Default value is ââ */ $params['container_type']='mysql'; - $params['container_cfg_mysql_host']=$GLOBALS['egw_info']['server']['db_host']; + list($params['container_cfg_mysql_host']) = explode(';', $GLOBALS['egw_info']['server']['db_host']); $params['container_cfg_mysql_port']=$GLOBALS['egw_info']['server']['db_port']; $params['container_cfg_mysql_database']=$GLOBALS['egw_info']['server']['db_name']; $params['container_cfg_mysql_table']='egw_phpfreechat'; |