Minahito
minah****@users*****
2006年 10月 5日 (木) 18:10:56 JST
Index: xoops2jp/html/modules/stdCache/preload/Initialize.class.php diff -u xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1 xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1.2.1 --- xoops2jp/html/modules/stdCache/preload/Initialize.class.php:1.1.2.1 Sun Sep 24 23:05:09 2006 +++ xoops2jp/html/modules/stdCache/preload/Initialize.class.php Thu Oct 5 18:10:56 2006 @@ -16,7 +16,7 @@ function checkForBlock(&$cacheInfo) { - $user =& $this->mController->mXoopsUser; + $user =& $this->mRoot->mContext->mXoopsUser; if (is_object($user)) { $cacheInfo->mGroupArr = $user->getGroups(); $cacheInfo->setEnableCache(!in_array(XOOPS_GROUP_ADMIN, $user->getGroups())); @@ -29,7 +29,7 @@ function checkForModule(&$cacheInfo) { - $user =& $this->mController->mXoopsUser; + $user =& $this->mRoot->mContext->mXoopsUser; if (is_object($user)) { $cacheInfo->mGroupArr = $user->getGroups(); $cacheInfo->setEnableCache(!in_array(XOOPS_GROUP_ADMIN, $user->getGroups()));