mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
기본 사이트의 기본 모듈 값이 없을 경우 계속해서 redirection하다 브라우저에서 종료되는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6806 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
50bf1590d8
commit
65fbf4249d
2 changed files with 8 additions and 4 deletions
|
|
@ -99,6 +99,7 @@
|
|||
if(!$output->data) {
|
||||
$args->site_srl = 0;
|
||||
$output = executeQuery('module.getSiteInfo', $args);
|
||||
|
||||
// 기본 사이트 정보가 없으면 관련된 정보를 갱신
|
||||
if(!$output->data) {
|
||||
// sites 테이블이 없을 경우 생성
|
||||
|
|
@ -128,7 +129,7 @@
|
|||
}
|
||||
|
||||
$module_info = $output->data;
|
||||
if(!$module_info->module_srl) return;
|
||||
if(!$module_info->module_srl) return $module_info;
|
||||
if(is_array($module_info) && $module_info->data[0]) $module_info = $module_info[0];
|
||||
return $this->addModuleExtraVars($module_info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue