git-svn-id: http://xe-core.googlecode.com/svn/trunk@1383 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-10 07:46:48 +00:00
parent bea4bada20
commit fa6bfa7717
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@
* 2 : 1 + DB 쿼리 * 2 : 1 + DB 쿼리
* 3 : 모든 로그 * 3 : 모든 로그
**/ **/
define('__DEBUG__', 3); define('__DEBUG__', 0);
/** /**
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require * @brief 간단하게 사용하기 위한 함수 정의한 파일 require

View file

@ -87,6 +87,7 @@
// 기본 설정의 스킨, 컬러셋 설정 // 기본 설정의 스킨, 컬러셋 설정
$oModuleModel = &getModel('module'); $oModuleModel = &getModel('module');
$poll_config = $oModuleModel->getModuleConfig('poll'); $poll_config = $oModuleModel->getModuleConfig('poll');
if(!$poll_config->skin) $poll_config->skin = 'default';
Context::set('poll_config', $poll_config); Context::set('poll_config', $poll_config);
$tpl_path = sprintf("%sskins/%s/", $this->module_path, $poll_config->skin); $tpl_path = sprintf("%sskins/%s/", $this->module_path, $poll_config->skin);