Minahito
minah****@users*****
2006年 10月 5日 (木) 19:18:15 JST
Index: xoops2jp/html/modules/base/preload/Primary/SiteClose.class.php diff -u xoops2jp/html/modules/base/preload/Primary/SiteClose.class.php:1.1.2.6.2.2 xoops2jp/html/modules/base/preload/Primary/SiteClose.class.php:1.1.2.6.2.3 --- xoops2jp/html/modules/base/preload/Primary/SiteClose.class.php:1.1.2.6.2.2 Thu Oct 5 18:09:44 2006 +++ xoops2jp/html/modules/base/preload/Primary/SiteClose.class.php Thu Oct 5 19:18:14 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: SiteClose.class.php,v 1.1.2.6.2.2 2006/10/05 09:09:44 minahito Exp $ + * @version $Id: SiteClose.class.php,v 1.1.2.6.2.3 2006/10/05 10:18:14 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -190,11 +190,11 @@ } // Site close - if ($this->mController->getConfig('closesite')) { + if ($this->mRoot->mContext->getXoopsConfig('closesite')) { $accessAllowed = false; foreach ($xoopsUser->getGroups() as $group) { - if (in_array($group, $this->mController->getConfig('closesite_okgrp')) || ($group == XOOPS_GROUP_ADMIN)) { + if (in_array($group, $this->mRoot->mContext->getXoopsConfig('closesite_okgrp')) || ($group == XOOPS_GROUP_ADMIN)) { $accessAllowed = true; break; }