mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
module 테이블에 site_srl이 존재 하지 않는 경우 관리자 페이지에 접속하지 못하는 오류 수정
PArker Falcon님 제보 (감사합니다) git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6076 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69a94718d2
commit
ab7d267b62
1 changed files with 8 additions and 0 deletions
|
|
@ -95,7 +95,15 @@
|
|||
|
||||
if(!$output->data) {
|
||||
$args->site_srl = 0;
|
||||
// site_srl이 modules에 생성되지 않은 이전 버전 사용자의 경우 관리자 페이지에 접속하지를 못하는 오류 수정
|
||||
// Parker Falcon 님이 알려주심
|
||||
$output = executeQuery('module.getDefaultMidInfo', $args);
|
||||
if(!$output->toBool()) {
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB->dropIndex("modules","unique_mid",true);
|
||||
$oDB->addColumn('modules','site_srl','number',11,0,true);
|
||||
$oDB->addIndex("modules","idx_site_mid", array("site_srl","mid"),true);
|
||||
}
|
||||
}
|
||||
|
||||
$module_info = $output->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue