CheckLoginWithGeneralID()
를 직접 Session 클래스를 접근하는 방식으로 변경.
This commit is contained in:
+1
-5
@@ -6,12 +6,8 @@ include "func.php";
|
||||
// $btn, $name, $troop
|
||||
|
||||
//로그인 검사
|
||||
$session = Session::requireLogin()->loginGame()->setReadOnly();
|
||||
$session = Session::requireGameLogin()->setReadOnly();
|
||||
$generalID = $session->$generalID;
|
||||
if(!$generalID){
|
||||
header('Location:..');
|
||||
die();
|
||||
}
|
||||
|
||||
$db = DB::db();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user