mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
모듈별 설정을 가져올때 site_srl을 반영받도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6356 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
04a11afb14
commit
7f6433dd1c
3 changed files with 11 additions and 5 deletions
|
|
@ -23,6 +23,8 @@
|
|||
/**
|
||||
* 피드 출력을 위한 변수 설정
|
||||
**/
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$site_srl = $site_module_info->site_srl;
|
||||
$mid = Context::get('mid'); ///< 대상 모듈 id, 없으면 전체로
|
||||
$start_date = (int)Context::get('start_date');
|
||||
$end_date = (int)Context::get('end_date');
|
||||
|
|
@ -46,7 +48,7 @@
|
|||
// mid 가 선택되어 있지 않으면 전체
|
||||
} else {
|
||||
if($total_config->use_total_feed != 'N') {
|
||||
$rss_config = $oModuleModel->getModulePartConfigs('rss');
|
||||
$rss_config = $oModuleModel->getModulePartConfigs('rss', $site_srl);
|
||||
if($rss_config) {
|
||||
foreach($rss_config as $module_srl => $config) {
|
||||
if($config && $config->open_rss != 'N' && $config->open_total_feed != 'T_N') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue