플래닛에 지정된 레이아웃을 각 개별 플래닛에서도 적용되도록 코드 수정. 외부 action forward 실행되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5175 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-24 06:23:12 +00:00
parent 730edcb33a
commit 13238f50f2

View file

@ -11,11 +11,14 @@
* @brief 초기화
**/
function init() {
if(!preg_match('/planet/i', $this->act)) return;
/**
* @brief 플래닛 모듈의 기본 설정은 view에서는 언제든지 사용하도록 load하여 Context setting
**/
$oPlanetModel = &getModel('planet');
Context::set('config',$this->config = $oPlanetModel->getPlanetConfig());
$this->module_info->layout_srl = $this->config->layout_srl;
/**
* 스킨이 없으면 플래닛 기본 설정의 스킨으로 설정