[xoops-cvslog 411] CVS update: xoops2jp/html/modules/news/admin

Back to archive index

onokazu onoka****@users*****
2005年 9月 5日 (月) 05:46:11 JST


Index: xoops2jp/html/modules/news/admin/storyform.inc.php
diff -u xoops2jp/html/modules/news/admin/storyform.inc.php:1.4 xoops2jp/html/modules/news/admin/storyform.inc.php:1.5
--- xoops2jp/html/modules/news/admin/storyform.inc.php:1.4	Wed Aug  3 21:39:14 2005
+++ xoops2jp/html/modules/news/admin/storyform.inc.php	Mon Sep  5 05:46:11 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: storyform.inc.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
+// $Id: storyform.inc.php,v 1.5 2005/09/04 20:46:11 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -25,12 +25,12 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
 //  ------------------------------------------------------------------------ //
 
-if ( !preg_match("/index.php/", $HTTP_SERVER_VARS['PHP_SELF']) ) {
+if ( !preg_match("/index.php/", $_SERVER['PHP_SELF']) ) {
     exit("Access Denied");
 }
 include XOOPS_ROOT_PATH."/include/xoopscodes.php";
 if(!isset($submit_page)){
-    $submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
+    $submit_page = xoops_getenv('PHP_SELF');
 }
 
 $token=&XoopsMultiTokenHandler::quickCreate('news_admin_submit');


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