mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
layout이 없을 경우 기본 레이아웃을 지정하도록 코드 변경. (설치시 화면 안 나오는 문제 수정됨)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6106 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2868b62e2b
commit
13ad615f77
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,6 @@
|
|||
if(__DEBUG__==3) $start = getMicroTime();
|
||||
|
||||
$layout_path = $oModule->getLayoutPath();
|
||||
if(!$layout_path) $layout_path = "./common/tpl";
|
||||
|
||||
$layout_file = $oModule->getLayoutFile();
|
||||
$edited_layout_file = $oModule->getEditedLayoutFile();
|
||||
|
|
@ -75,6 +74,8 @@
|
|||
|
||||
if(file_exists($edited_layout_css)) Context::addCSSFile($edited_layout_css,true,'all','',100);
|
||||
}
|
||||
if(!$layout_path) $layout_path = "./common/tpl";
|
||||
if(!$layout_file) $layout_file = "default_layout";
|
||||
|
||||
$output = $oTemplate->compile($layout_path, $layout_file, $edited_layout_file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue