game 테이블을 KVStorage로 일부 대체

This commit is contained in:
2018-05-13 01:26:44 +09:00
parent 9d6181ede1
commit 166eafe4ee
13 changed files with 67 additions and 98 deletions
+1 -3
View File
@@ -18,9 +18,7 @@ $query = "select no,tournament,con,turntime from general where owner='{$userID}'
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), "");
$me = MYDB_fetch_array($result);
$query = "select conlimit,tournament,phase,tnmt_msg,tnmt_type,develcost,tnmt_trig from game limit 1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), "");
$admin = MYDB_fetch_array($result);
$admin = $gameStor->getValues(['tournament','phase','tnmt_msg','tnmt_type','develcost','tnmt_trig']);
$con = checkLimit($me['con']);
if ($con >= 2) {