Minahito
minah****@users*****
2006年 10月 5日 (木) 19:17:46 JST
Index: xoops2jp/html/modules/base/actions/MiscFriendAction.class.php diff -u xoops2jp/html/modules/base/actions/MiscFriendAction.class.php:1.1.2.3 xoops2jp/html/modules/base/actions/MiscFriendAction.class.php:1.1.2.3.2.1 --- xoops2jp/html/modules/base/actions/MiscFriendAction.class.php:1.1.2.3 Mon Sep 25 18:34:29 2006 +++ xoops2jp/html/modules/base/actions/MiscFriendAction.class.php Thu Oct 5 19:17:46 2006 @@ -43,13 +43,13 @@ $this->mMailer =& getMailer(); $this->mMailer->setTemplate("tellfriend.tpl"); - $this->mMailer->assign("SITENAME", $controller->getConfig('sitename')); - $this->mMailer->assign("ADMINMAIL", $controller->getConfig('adminmail')); + $this->mMailer->assign("SITENAME", $this->mRoot->mContext->getXoopsConfig('sitename')); + $this->mMailer->assign("ADMINMAIL", $this->mRoot->mContext->getXoopsConfig('adminmail')); $this->mMailer->assign("SITEURL", XOOPS_URL . '/'); $this->mActionForm->update($this->mMailer); - $this->mMailer->setSubject(sprintf(_MSC_INTSITE, $controller->getConfig('sitename'))); + $this->mMailer->setSubject(sprintf(_MSC_INTSITE, $this->mRoot->mContext->getXoopsConfig('sitename'))); return $this->mMailer->send() ? LEGACY_FRAME_VIEW_SUCCESS : LEGACY_FRAME_VIEW_ERROR; }