コンテンツを取得しているのにも関わらずSkin::parse()を用いていた。そのため、Skin::parse()の発生するイベントセットが2回発生していた。
'action' => Admin::getAdminAction()
);
$manager->notify('AdminPrePageHead', $data);
-
+
$content = $this->parser->skin->getContentFromDB('pagehead');
if ( !$content )
{
'action' => Admin::getAdminAction()
);
$manager->notify('AdminPrePageFoot', $data);
-
+
$content = $this->parser->skin->getContentFromDB('pagefoot');
if ( !$content )
{
}
else
{
- $this->parser->skin->parse('pagefoot');
+ $this->parser->parse($content);
exit;
}