mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1290 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3df305be0f
commit
5cd542b8da
1 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@
|
|||
// 모듈의 설정 정보를 받아옴 (module model 객체를 이용)
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByMid($mid);
|
||||
if(!$module_info->mid != $mid) return $this->dispError();
|
||||
if($module_info->mid != $mid) return $this->dispError();
|
||||
|
||||
// RSS 비활성화 되었는지 체크하여 비활성화시 에러 출력
|
||||
if($config->open_rss == 'N') return $this->dispError();
|
||||
|
|
@ -70,13 +70,13 @@
|
|||
$item->link = sprintf("%s?document_srl=%d", Context::getRequestUri(), $item->document_srl);
|
||||
$item->description = $item->content;
|
||||
$item->date = gmdate("D, d M Y H:i:s", $time);
|
||||
$output[$idx++] = $item;
|
||||
$content[$idx++] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
// RSS 출력물에서 사용될 변수 세팅
|
||||
Context::set('info', $info);
|
||||
Context::set('content', $output);
|
||||
Context::set('content', $content);
|
||||
|
||||
// 결과 출력을 XMLRPC로 강제 지정
|
||||
Context::setResponseMethod("XMLRPC");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue