From: <var...@us...> - 2009-03-27 12:01:48
|
Revision: 6727 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6727&view=rev Author: vargenau Date: 2009-03-27 12:01:45 +0000 (Fri, 27 Mar 2009) Log Message: ----------- pcre_fix_posix_classes does nothing in Gforge Modified Paths: -------------- trunk/lib/config.php Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2009-03-27 11:54:30 UTC (rev 6726) +++ trunk/lib/config.php 2009-03-27 12:01:45 UTC (rev 6727) @@ -361,6 +361,11 @@ */ function pcre_fix_posix_classes ($regexp) { global $charset; + + if (defined('GFORGE') and GFORGE) { + return $regexp; + } + if (!isset($charset)) $charset = CHARSET; // get rid of constant. pref is dynamic and language specific if (in_array($GLOBALS['LANG'], array('zh'))) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |