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

This commit is contained in:
zero 2007-04-25 03:09:50 +00:00
parent 19b9fd314f
commit e1ecee7484
12 changed files with 147 additions and 16 deletions

View file

@ -198,7 +198,6 @@
foreach($layout_info->extra_var as $var_id => $val) {
$layout_info->{$var_id} = $val->value;
}
//unset($layout_info->extra_var);
}
// 레이아웃 정보중 menu를 Context::set
@ -214,6 +213,10 @@
$oModule->setLayoutPath($layout_info->path);
$oModule->setLayoutFile('layout');
// 레이아웃이 수정되었을 경우 수정본을 지정
$edited_layout = sprintf('./files/cache/layout/%d.html', $layout_info->layout_srl);
if(file_exists($edited_layout)) $oModule->setEditedLayoutFile($edited_layout);
}
}