From: <var...@us...> - 2016-02-10 17:47:43
|
Revision: 9790 http://sourceforge.net/p/phpwiki/code/9790 Author: vargenau Date: 2016-02-10 17:47:41 +0000 (Wed, 10 Feb 2016) Log Message: ----------- ereg --> preg_match Modified Paths: -------------- trunk/lib/IniConfig.php Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2016-02-10 17:34:26 UTC (rev 9789) +++ trunk/lib/IniConfig.php 2016-02-10 17:47:41 UTC (rev 9790) @@ -962,7 +962,7 @@ define('USE_PATH_INFO', false); break; default: - define('USE_PATH_INFO', ereg('\.(php3?|cgi)$', SCRIPT_NAME)); + define('USE_PATH_INFO', preg_match('/\.(php3?|cgi)$/', SCRIPT_NAME)); break; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |