mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
virtual site + homepage package 추가. 아직 미완성 버전이므로 서비스 반영하지 말아주세요. 테스트중
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4871 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5dbc3405c
commit
e745b70268
171 changed files with 5243 additions and 274 deletions
|
|
@ -48,6 +48,7 @@
|
|||
$args->page_count = 10;
|
||||
$args->s_module_category_srl = Context::get('module_category_srl');
|
||||
$output = executeQuery('page.getPageList', $args);
|
||||
moduleModel::syncModuleToSite($output->data);
|
||||
|
||||
// 템플릿에 쓰기 위해서 context::set
|
||||
Context::set('total_count', $output->total_count);
|
||||
|
|
@ -71,7 +72,10 @@
|
|||
if($module_srl) {
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
if($module_info->module_srl == $module_srl) Context::set('module_info',$module_info);
|
||||
if($module_info->module_srl == $module_srl) {
|
||||
moduleModel::syncModuleToSite($module_info);
|
||||
Context::set('module_info',$module_info);
|
||||
}
|
||||
else {
|
||||
unset($module_info);
|
||||
unset($module_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue