NobuNobu
nobun****@users*****
2005年 8月 21日 (日) 13:16:54 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.4.2.1 --- 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 Sun Aug 21 13:16:54 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.4.2.1 2005/08/21 04:16:54 nobunobu 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 = $_SERVER['PHP_SELF']; } $token=&XoopsMultiTokenHandler::quickCreate('news_admin_submit');