mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
자동로그인 테이블이 생성되어 있지 않더라도 로그인이 되도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3700 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5a0b5a35bb
commit
c34beaedb8
1 changed files with 2 additions and 2 deletions
|
|
@ -1292,8 +1292,8 @@
|
|||
$autologin_args->autologin_key = md5($user_id.$member_info->password.$_SERVER['REMOTE_ADDR']);
|
||||
$autologin_args->member_srl = $member_info->member_srl;
|
||||
executeQuery('member.deleteAutologin', $autologin_args);
|
||||
$output = executeQuery('member.insertAutologin', $autologin_args);
|
||||
if($output->toBool()) {
|
||||
$autologin_output = executeQuery('member.insertAutologin', $autologin_args);
|
||||
if($autologin_output->toBool()) {
|
||||
setCookie('xeak',$autologin_args->autologin_key, time()+60*60*24*365, '/');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue