mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
RSS 주소 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6542 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b749490dd
commit
4c56a53da1
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@
|
|||
if($rss_config->open_rss != 'N') {
|
||||
if(Context::isAllowRewrite()) {
|
||||
$request_uri = Context::getRequestUri();
|
||||
if(Context::get('vid')) {
|
||||
// 가상 사이트 변수가 있고 이 변수가 mid와 다를때. (vid와 mid는 같을 수 없다고 함)
|
||||
if(Context::get('vid') && Context::get('vid') != Context::get('mid')) {
|
||||
Context::set('rss_url', Context::getRequestUri().Context::get('vid').'/'.Context::get('mid').'/rss');
|
||||
Context::set('atom_url', Context::getRequestUri().Context::get('vid').'/'.Context::get('mid').'/atom');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue