mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 06:39:56 +09:00
issue 160, Modify checking manager ip on genaral config
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9367 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4cb4047975
commit
3dc8f5161e
8 changed files with 83 additions and 48 deletions
|
|
@ -1477,6 +1477,12 @@
|
|||
$autologin_output = executeQuery('member.insertAutologin', $autologin_args);
|
||||
if($autologin_output->toBool()) setCookie('xeak',$autologin_args->autologin_key, time()+60*60*24*365, '/');
|
||||
}
|
||||
if($this->memberInfo->is_admin == 'Y') {
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
if(!$oModuleAdminModel->getModuleAdminIPCheck()) {
|
||||
$_SESSION['denied_admin'] = 'Y';
|
||||
}
|
||||
}
|
||||
|
||||
$this->setSessionInfo();
|
||||
|
||||
|
|
@ -1509,8 +1515,8 @@
|
|||
$_SESSION['is_logged'] = true;
|
||||
$_SESSION['ipaddress'] = $_SERVER['REMOTE_ADDR'];
|
||||
$_SESSION['member_srl'] = $this->memberInfo->member_srl;
|
||||
$_SESSION['is_admin'] = '';
|
||||
// Do not save your password in the session jiwojum;;
|
||||
$_SESSION['is_admin'] = '';
|
||||
// Do not save your password in the session jiwojum;;
|
||||
//unset($this->memberInfo->password);
|
||||
// User Group Settings
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue