Minahito
minah****@users*****
2006年 10月 15日 (日) 01:41:34 JST
Index: xoops2jp/html/modules/legacy/kernel/Legacy_RoleManager.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_RoleManager.class.php:1.1.2.1 xoops2jp/html/modules/legacy/kernel/Legacy_RoleManager.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/kernel/Legacy_RoleManager.class.php:1.1.2.1 Sat Oct 14 23:55:24 2006 +++ xoops2jp/html/modules/legacy/kernel/Legacy_RoleManager.class.php Sun Oct 15 01:41:34 2006 @@ -41,7 +41,7 @@ $context->mUser->addRole('Module.' . $module->get('dirname') . '.Admin'); } - $handler =& xoops_getmodulehandler('group_permission', 'base'); + $handler =& xoops_getmodulehandler('group_permission', 'legacy'); $roleArr = $handler->getRolesByModule($module->get('mid'), $groups); foreach ($roleArr as $role) { $context->mUser->addRole('Module.' . $module->get('dirname') . '.' . $role); Index: xoops2jp/html/modules/legacy/kernel/Legacy_PublicControllerStrategy.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.1 xoops2jp/html/modules/legacy/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.1 Sat Oct 14 23:55:24 2006 +++ xoops2jp/html/modules/legacy/kernel/Legacy_PublicControllerStrategy.class.php Sun Oct 15 01:41:34 2006 @@ -61,7 +61,7 @@ // Because get() of the virtual handler is heavy, we have to consider // the new solution about this process. // - $handler =& xoops_getmodulehandler('theme', 'base'); + $handler =& xoops_getmodulehandler('theme', 'legacy'); $theme =& $handler->get($this->mController->getTheme()); return $theme;