From 4c56a53da1f760515557fadcf057104c636a2410 Mon Sep 17 00:00:00 2001 From: misol Date: Mon, 15 Jun 2009 02:29:03 +0000 Subject: [PATCH] =?UTF-8?q?RSS=20=EC=A3=BC=EC=86=8C=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6542 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/rss/rss.controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/rss/rss.controller.php b/modules/rss/rss.controller.php index 9ca5efb86..aba77edd9 100644 --- a/modules/rss/rss.controller.php +++ b/modules/rss/rss.controller.php @@ -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'); }