mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@55 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f06420b2f5
commit
f43c4b6430
3 changed files with 14 additions and 3 deletions
|
|
@ -30,6 +30,15 @@
|
|||
$this->module_path = $path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief redirect_url을 정함
|
||||
*
|
||||
* redirect_url의 경우 ajax로 request를 받았을 경우에 사용하면 됨...
|
||||
**/
|
||||
function setRedirectUrl($url='./') {
|
||||
$this->add('redirect_url', $url);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 모듈의 정보 세팅
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -116,8 +116,8 @@
|
|||
if(!$this->makeConfigFile()) return new Object(-1, 'msg_install_failed');
|
||||
|
||||
// 설치 완료 메세지 출력
|
||||
$this->add('redirect_url','./');
|
||||
$this->setMessage('msg_install_completed');
|
||||
$this->setRedirectUrl('./');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -28,9 +28,11 @@
|
|||
// DB 객체 생성
|
||||
$oDB = &DB::getInstance();
|
||||
|
||||
// member model 객체 생성
|
||||
$oMemberModel = getModule('member','model');
|
||||
|
||||
// user_id 에 따른 정보 가져옴
|
||||
$args->user_id = $user_id;
|
||||
$member_info = $this->getMemberInfo($user_id, false);
|
||||
$member_info = $oMemberModel->getMemberInfoByUserID($user_id);
|
||||
|
||||
// return 값이 없거나 비밀번호가 틀릴 경우
|
||||
if($member_info->user_id != $user_id) return new Object(-1, 'invalid_user_id');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue