Minahito
minah****@users*****
2006年 3月 7日 (火) 21:43:44 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.24 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.25 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.24 Tue Feb 21 20:52:21 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Tue Mar 7 21:43:44 2006 @@ -276,6 +276,12 @@ // Set instance to global variable for compatiblity with XOOPS 2.0.x $GLOBALS['xoopsUser']=&$this->mXoopsUser; $GLOBALS['xoopsUserIsAdmin'] = is_object($this->mXoopsUser) ? $this->mXoopsUser->isAdmin(1) : false; //@todo Remove '1' + + // + // Set member handler to global variables for compatibility with XOOPS 2.0.x. + // + $GLOBALS['xoopsMemberHandler'] =& xoops_gethandler('member'); + $GLOBALS['member_handler'] =& $GLOBALS['xoopsMemberHandler']; } function _setupErrorHandler()