[xoops-cvslog 39] CVS update: xoops2jp/html/include

Back to archive index

onokazu onoka****@users*****
2005年 5月 30日 (月) 21:49:40 JST


Index: xoops2jp/html/include/common.php
diff -u xoops2jp/html/include/common.php:1.4.6.5 xoops2jp/html/include/common.php:1.4.6.6
--- xoops2jp/html/include/common.php:1.4.6.5	Wed Apr 27 21:10:14 2005
+++ xoops2jp/html/include/common.php	Mon May 30 21:49:40 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: common.php,v 1.4.6.5 2005/04/27 12:10:14 onokazu Exp $
+// $Id: common.php,v 1.4.6.6 2005/05/30 12:49:40 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -155,7 +155,7 @@
         $_SERVER['SCRIPT_FILENAME'] =& $_SERVER['PATH_TRANSLATED'];     // For IIS/2K now I think :-(
     }
 
-    if ( !isset( $_SERVER[ 'REQUEST_URI' ] ) ) {         // Not defined by IIS
+    if (empty($_SERVER['REQUEST_URI'])) {         // Not defined by IIS
         // Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(
         if ( !( $_SERVER[ 'REQUEST_URI' ] = @$_SERVER['PHP_SELF'] ) ) {
             $_SERVER[ 'REQUEST_URI' ] = $_SERVER['SCRIPT_NAME'];


xoops-cvslog メーリングリストの案内
Back to archive index