mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
관리자가 설정한 cafeXE 생성시 기본 레이아웃이 적용되지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6183 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a572c1cf5c
commit
18fde81438
1 changed files with 5 additions and 1 deletions
|
|
@ -139,8 +139,12 @@
|
|||
$oModuleAdminController = &getAdminController('module');
|
||||
$oModuleAdminController->makeCacheDefinedLangCode($info->site_srl);
|
||||
|
||||
$oHomepageModel = &getModel('homepage');
|
||||
$homepage_config = $oHomepageModel->getConfig(0);
|
||||
if(!$homepage_config->default_layout) $homepage_config->default_layout = 'cafeXE';
|
||||
|
||||
// 레이아웃 생성
|
||||
$info->layout_srl = $this->makeLayout($info->site_srl, $title,'cafeXE');
|
||||
$info->layout_srl = $this->makeLayout($info->site_srl, $title,$homepage_config->default_layout);
|
||||
|
||||
// 기본 게시판+페이지 생성
|
||||
$info->module->home_srl = $this->makePage($info->site_srl, 'home', '$user_lang->home', $info->layout_srl, $this->getHomeContent());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue