mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
17263144 RSS 초기 설정을 비공개로 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4491 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8f8ad9cf04
commit
a0f8903af9
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
|||
// rss config에 등록된 모듈중 rss 공개하는 것들의 module_srl을 고름
|
||||
if($rss_config->module_config && count($rss_config->module_config)) {
|
||||
foreach($rss_config->module_config as $key => $val) {
|
||||
if($val->open_rss == 'N') continue;
|
||||
if($val->open_rss == 'N' || !$val->open_rss) continue;
|
||||
$module_srl_list[] = $val->module_srl;
|
||||
}
|
||||
}
|
||||
|
|
@ -75,6 +75,7 @@
|
|||
|
||||
// 해당 모듈이 rss를 사용하는지 확인
|
||||
$rss_module_config = $rss_config->module_config[$module_info->module_srl];
|
||||
if(!$rss_module_config->open_rss) $rss_module_config->open_rss = 'N';
|
||||
|
||||
// RSS 비활성화 되었는지 체크하여 비활성화시 에러 출력
|
||||
if($rss_module_config->open_rss == 'N') return $this->dispError();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue