[Phpsysinfo-subversion] SF.net SVN: phpsysinfo:[688] branches/namiltd-ini/includes/xml/class.XML. i
Brought to you by:
namiltd
From: <na...@us...> - 2012-09-07 11:23:51
|
Revision: 688 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=688&view=rev Author: namiltd Date: 2012-09-07 11:23:44 +0000 (Fri, 07 Sep 2012) Log Message: ----------- test include_path on windows fix Modified Paths: -------------- branches/namiltd-ini/includes/xml/class.XML.inc.php Modified: branches/namiltd-ini/includes/xml/class.XML.inc.php =================================================================== --- branches/namiltd-ini/includes/xml/class.XML.inc.php 2012-09-06 20:54:49 UTC (rev 687) +++ branches/namiltd-ini/includes/xml/class.XML.inc.php 2012-09-07 11:23:44 UTC (rev 688) @@ -467,7 +467,7 @@ // Include path check $include_path = @ini_get("include_path"); if (($include_path)&&($include_path!="")) { - $include_path = str_replace(":", "\n", $include_path); + $include_path = preg_replace("/(:)|(;)/", "\n:, $include_path); if (preg_match("/^\.$/m", $include_path)) { $include_path = "."; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |