mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
관리자 페이지에서 RSS 바로 확인 할 수 있도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6956 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5bd982447
commit
624e734eea
4 changed files with 27 additions and 17 deletions
|
|
@ -9,6 +9,25 @@
|
|||
**/
|
||||
|
||||
class rssModel extends rss {
|
||||
/**
|
||||
* @brief Feed url 생성.
|
||||
**/
|
||||
function getModuleFeedUrl($vid = null, $mid, $format) {
|
||||
if(Context::isAllowRewrite()) {
|
||||
$request_uri = Context::getRequestUri();
|
||||
// 가상 사이트 변수가 있고 이 변수가 mid와 다를때. (vid와 mid는 같을 수 없다고 함)
|
||||
if($vid && $vid != $mid) {
|
||||
return $request_uri.$vid.'/'.$mid.'/'.$format;
|
||||
}
|
||||
else {
|
||||
return $request_uri.$mid.'/'.$format;
|
||||
}
|
||||
}
|
||||
else {
|
||||
return getUrl('','mid',$mid,'act',$format);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief 특정 모듈의 rss 설정을 return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue