Session 클래스 구조 살짝 수정. 호출 구조 살짝 수정.

환상향 시나리오 전콘 반영(임시)
This commit is contained in:
2018-06-11 22:55:32 +09:00
parent d1d81e03d1
commit e7f5850c31
7 changed files with 53 additions and 50 deletions
+2 -3
View File
@@ -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);