[Phpfreechat-svn] SF.net SVN: phpfreechat: [841] trunk/src/pfcglobalconfig.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-10-24 16:14:52
|
Revision: 841 http://svn.sourceforge.net/phpfreechat/?rev=841&view=rev Author: kerphi Date: 2006-10-24 09:14:45 -0700 (Tue, 24 Oct 2006) Log Message: ----------- [en] Bug fix: the 'proxies_cfg' parameter array was badly initialized. [15min] [fr] Bug fix : le tableau de param?\195?\168tre 'proxies_cfg' ?\195?\169tait mal initialis?\195?\169. [15min] Modified Paths: -------------- trunk/src/pfcglobalconfig.class.php Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2006-10-23 20:03:27 UTC (rev 840) +++ trunk/src/pfcglobalconfig.class.php 2006-10-24 16:14:45 UTC (rev 841) @@ -178,7 +178,13 @@ { // don't replace all the proxy_cfg parameters, just replace the specified ones foreach ( $params["proxies_cfg"] as $k2 => $v2 ) - $this->proxies_cfg[$k2] = $v2; + { + if (is_array($v2)) + foreach( $v2 as $k3 => $v3) + $this->proxies_cfg[$k2][$k3] = $v3; + else + $this->proxies_cfg[$k2] = $v2; + } } else $this->$k = $v; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |