onokazu
onoka****@users*****
2005年 9月 5日 (月) 05:46:08 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.3 --- 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 Mon Sep 5 05:46:08 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.3 2005/09/04 20:46:08 onokazu 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'];