game 테이블을 모두 gameStor로 변환
This commit is contained in:
1 parent
af9df325f0
commit
0516007130
28 files changed
+200
-427
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ $userID = Session::getUserID();
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game_env');
|
||||
|
||||
list($npcmode, $maxgeneral) = $db->queryFirstList('SELECT npcmode,maxgeneral FROM game LIMIT 1');
|
||||
list($npcmode, $maxgeneral) = $gameStor->getValuesAsArray(['npcmode', 'maxgeneral']);
|
||||
|
||||
if(!$npcmode) {
|
||||
header('location:..');
|
||||
|
||||
Reference in new issue
Block a user