From: Reini U. <ru...@us...> - 2004-05-18 13:33:22
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29217 Modified Files: IniConfig.php Log Message: we already have a CGI function Index: IniConfig.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/IniConfig.php,v retrieving revision 1.23 retrieving revision 1.24 diff -u -2 -b -p -d -r1.23 -r1.24 --- IniConfig.php 17 May 2004 17:43:29 -0000 1.23 +++ IniConfig.php 18 May 2004 13:33:13 -0000 1.24 @@ -358,5 +358,5 @@ function fix_configs() { if (!defined('USE_PATH_INFO')) { - if (substr($GLOBALS['HTTP_SERVER_VARS']['GATEWAY_INTERFACE'],0,3) == 'CGI') + if (isCGI()) define('USE_PATH_INFO', false); else { @@ -537,4 +537,7 @@ function fix_configs() { // $Log$ +// Revision 1.24 2004/05/18 13:33:13 rurban +// we already have a CGI function +// // Revision 1.23 2004/05/17 17:43:29 rurban // CGI: no PATH_INFO fix |