Session 클래스 구조 살짝 수정. 호출 구조 살짝 수정.
환상향 시나리오 전콘 반영(임시)
This commit is contained in:
@@ -95,11 +95,10 @@ function allButton() {
|
||||
function commandButton() {
|
||||
$session = Session::getInstance();
|
||||
$userID = Session::getUserID();
|
||||
$generalID = $session->generalID;
|
||||
|
||||
if($generalID === null){
|
||||
if(!$session->isGameLoggedIn()){
|
||||
return '';
|
||||
}
|
||||
|
||||
$db = DB::db();
|
||||
$me = $db->queryFirstRow("select no,nation,level,belong from general where owner=%i", $userID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user