mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
모듈 동작 마친 후 trigger call 하는 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6409 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d2b8311eb2
commit
977e94c0d8
1 changed files with 4 additions and 2 deletions
|
|
@ -241,6 +241,10 @@
|
|||
$this->error = 'msg_dbconnect_failed';
|
||||
}
|
||||
|
||||
// 모듈 동작을 마친 후 trigger call
|
||||
$output = ModuleHandler::triggerCall('moduleHandler.proc', 'after', $oModule);
|
||||
if(!$output->toBool()) $this->error = $output->getMessage();
|
||||
|
||||
// HTML call 이면 message view 객체 이용하도록
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
// 에러가 발생하였을시 처리
|
||||
|
|
@ -296,8 +300,6 @@
|
|||
|
||||
// 레이아웃이 수정되었을 경우 수정본을 지정
|
||||
$edited_layout = $oLayoutModel->getUserLayoutHtml($layout_info->layout_srl);
|
||||
// $edited_layout_css = $oLayoutModel->getUserLayoutCss($layout_info->layout_srl);
|
||||
// Context::addCSSFile($edited_layout_css);
|
||||
if(file_exists($edited_layout)) $oModule->setEditedLayoutFile($edited_layout);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue