Minahito
minah****@users*****
2005年 8月 25日 (木) 12:16:18 JST
Index: xoops2jp/html/class/smarty/plugins/function.xoops_link.php diff -u xoops2jp/html/class/smarty/plugins/function.xoops_link.php:1.2 xoops2jp/html/class/smarty/plugins/function.xoops_link.php:1.2.12.1 --- xoops2jp/html/class/smarty/plugins/function.xoops_link.php:1.2 Fri Mar 18 21:51:55 2005 +++ xoops2jp/html/class/smarty/plugins/function.xoops_link.php Thu Aug 25 12:16:18 2005 @@ -1,5 +1,5 @@ <?php -// $Id: function.xoops_link.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $ +// $Id: function.xoops_link.php,v 1.2.12.1 2005/08/25 03:16:18 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -86,7 +86,7 @@ $module = $params['module']; } if ( !isset($params['page']) ) { - $cur = $_SERVER['PHP_SELF']; + $cur = xoops_getenv('PHP_SELF'); $page = substr( $cur, strrpos( $cur, '/' ) + 1 ); } else { $page = $params['page'];