에디터 스킨이 선택되지 않으면 기본 스킨을 선택하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4795 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-07 10:54:34 +00:00
parent 5d04bce28a
commit 699b278938

View file

@ -193,6 +193,11 @@
**/
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
$tpl_file = 'editor.html';
if(!file_exists($tpl_path.$tpl_file)) {
$skin = 'default';
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
}
Context::set('editor_path', $tpl_path);
// tpl 파일을 compile한 결과를 return