정적 분석기 결과 반영. 빠진 POST 인자 입력 등
This commit is contained in:
@@ -10,9 +10,16 @@ $userID = Session::getUserID();
|
||||
$db = DB::db();
|
||||
$connect=$db->get();
|
||||
|
||||
$turn = Util::getReq('turn', 'array_int');
|
||||
$commandtype = Util::getReq('commandtype', 'int');
|
||||
|
||||
increaseRefresh("턴입력", 1);
|
||||
|
||||
if(!$turn || $commandtype === null){
|
||||
header('location:index.php');
|
||||
die();
|
||||
}
|
||||
|
||||
$query = "select conlimit from game limit 1";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
Reference in New Issue
Block a user