Minahito
minah****@users*****
2005年 8月 25日 (木) 12:18:15 JST
Index: xoops2jp/html/modules/system/blocks/system_blocks.php diff -u xoops2jp/html/modules/system/blocks/system_blocks.php:1.5 xoops2jp/html/modules/system/blocks/system_blocks.php:1.5.2.1 --- xoops2jp/html/modules/system/blocks/system_blocks.php:1.5 Wed Aug 3 21:40:01 2005 +++ xoops2jp/html/modules/system/blocks/system_blocks.php Thu Aug 25 12:18:15 2005 @@ -1,5 +1,5 @@ <?php -// $Id: system_blocks.php,v 1.5 2005/08/03 12:40:01 onokazu Exp $ +// $Id: system_blocks.php,v 1.5.2.1 2005/08/25 03:18:15 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -396,7 +396,7 @@ // Additional form data $block['target_page'] = "notification_update.php"; // FIXME: better or more standardized way to do this? - $script_url = explode('/', $_SERVER['PHP_SELF']); + $script_url = explode('/', xoops_getenv('PHP_SELF')); $script_name = $script_url[count($script_url)-1]; $block['redirect_script'] = $script_name; $block['submit_button'] = _NOT_UPDATENOW;