forked from devsam/core
_Session 클래스 일부 변경
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ if($member) {
|
||||
$system = $db->queryFirstRow('SELECT `LOGIN` FROM `SYSTEM` WHERE `NO` = 1');
|
||||
|
||||
if($system['LOGIN'] == 'Y' || $member['GRADE'] >= 5) {
|
||||
$SESSION->Login($member['NO'], $id, $member['GRADE']);
|
||||
$SESSION->login($member['NO'], $id, $member['GRADE']);
|
||||
$db->update('MEMBER', [
|
||||
'CONMSG'=>$conmsg,
|
||||
'IP'=>util::get_client_ip(true),
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ require_once(ROOT.'/f_func/class._Session.php');
|
||||
require_once(ROOT.'/f_config/DB.php');
|
||||
require_once(ROOT.'/tmp_kakao/conf.php');//TODO: kakao 가입 정식 적용하면 코드 변경
|
||||
$SESSION = new _Session();
|
||||
if($SESSION->IsLoggedIn()){
|
||||
if($SESSION->isLoggedIn()){
|
||||
header(ROOT.'/i_entrance/Frame.php');
|
||||
die();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user