Minahito
minah****@users*****
2005年 8月 25日 (木) 12:17:27 JST
Index: xoops2jp/html/include/notification_functions.php diff -u xoops2jp/html/include/notification_functions.php:1.2 xoops2jp/html/include/notification_functions.php:1.2.12.1 --- xoops2jp/html/include/notification_functions.php:1.2 Fri Mar 18 21:51:55 2005 +++ xoops2jp/html/include/notification_functions.php Thu Aug 25 12:17:26 2005 @@ -1,5 +1,5 @@ <?php -// $Id: notification_functions.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $ +// $Id: notification_functions.php,v 1.2.12.1 2005/08/25 03:17:26 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -322,7 +322,7 @@ $all_categories =& notificationCategoryInfo ('', $module_id); // 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]; $sub_categories = array();