From 1d5d72967a4cfc25bd502f83b02c4aace92e81d5 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 13 Nov 2018 02:10:17 +0900 Subject: [PATCH] =?UTF-8?q?extractMissingPostToGlobals();=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_bestGeneral.php | 2 -- hwe/a_emperior2.php | 2 -- hwe/a_genList.php | 2 -- hwe/a_history.php | 2 -- hwe/a_npcList.php | 2 -- hwe/b_auction.php | 2 -- hwe/b_battleCenter.php | 2 -- hwe/b_currentCity.php | 2 -- hwe/b_myCityInfo.php | 2 -- hwe/b_myGenInfo.php | 2 -- hwe/b_myPage.php | 2 -- hwe/c_auction.php | 1 - hwe/c_chiefboard.php | 2 -- hwe/c_dipcenter.php | 2 -- hwe/c_myBossInfo.php | 2 -- hwe/c_nationboard.php | 2 -- hwe/c_nationrule.php | 2 -- hwe/c_tournament.php | 2 -- hwe/c_troop.php | 2 -- hwe/c_vote.php | 2 -- hwe/join_post.php | 2 -- hwe/turn.php | 2 -- 22 files changed, 43 deletions(-) diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php index c22b33d9..b2ec9438 100644 --- a/hwe/a_bestGeneral.php +++ b/hwe/a_bestGeneral.php @@ -6,8 +6,6 @@ include "func.php"; $btn = Util::getReq('btn'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/a_emperior2.php b/hwe/a_emperior2.php index 60b224db..09eb37d1 100644 --- a/hwe/a_emperior2.php +++ b/hwe/a_emperior2.php @@ -6,8 +6,6 @@ include "func.php"; $select = Util::getReq('select', 'int', 0); -extractMissingPostToGlobals(); - $db = DB::db(); $connect=$db->get(); diff --git a/hwe/a_genList.php b/hwe/a_genList.php index a6d1dded..ad745cd9 100644 --- a/hwe/a_genList.php +++ b/hwe/a_genList.php @@ -6,8 +6,6 @@ include "func.php"; $type = Util::getReq('type', 'int', 9); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/a_history.php b/hwe/a_history.php index 7f8d7a0a..7ca6d30d 100644 --- a/hwe/a_history.php +++ b/hwe/a_history.php @@ -7,8 +7,6 @@ $btn = Util::getReq('btn'); $yearmonth = Util::getReq('yearmonth', 'int'); $serverID = Util::getReq('serverID', 'string', null); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/a_npcList.php b/hwe/a_npcList.php index 1a94e287..4ff33a0f 100644 --- a/hwe/a_npcList.php +++ b/hwe/a_npcList.php @@ -6,8 +6,6 @@ include "func.php"; $type = Util::getReq('type', 'int', 1); -extractMissingPostToGlobals(); - if($type <= 0 || $type > 8){ $type = 1; } diff --git a/hwe/b_auction.php b/hwe/b_auction.php index 77d3a30c..8ea94b30 100644 --- a/hwe/b_auction.php +++ b/hwe/b_auction.php @@ -7,8 +7,6 @@ include "func.php"; $msg = Util::getReq('msg'); $msg2 = Util::getReq('msg2'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/b_battleCenter.php b/hwe/b_battleCenter.php index 149980d3..17191f36 100644 --- a/hwe/b_battleCenter.php +++ b/hwe/b_battleCenter.php @@ -16,8 +16,6 @@ if ($type < 0 || $type > 3) { $type = 0; } -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/b_currentCity.php b/hwe/b_currentCity.php index bfcb2cef..5e24ca2b 100644 --- a/hwe/b_currentCity.php +++ b/hwe/b_currentCity.php @@ -6,8 +6,6 @@ include "func.php"; $citylist = Util::getReq('citylist', 'int'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/b_myCityInfo.php b/hwe/b_myCityInfo.php index 1ab326e4..67fc4e4a 100644 --- a/hwe/b_myCityInfo.php +++ b/hwe/b_myCityInfo.php @@ -9,8 +9,6 @@ if ($type <= 0 || $type > 12) { $type = 10; } -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/b_myGenInfo.php b/hwe/b_myGenInfo.php index 3f39fe69..90a6861e 100644 --- a/hwe/b_myGenInfo.php +++ b/hwe/b_myGenInfo.php @@ -9,8 +9,6 @@ if($type <= 0 || $type > 15) { $type = 1; } -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/b_myPage.php b/hwe/b_myPage.php index 69925e3c..b5170e04 100644 --- a/hwe/b_myPage.php +++ b/hwe/b_myPage.php @@ -10,8 +10,6 @@ $tnmt = Util::getReq('tnmt', 'int', 1); //$detachNPC = Util::getReq('detachNPC', 'bool'); $detachNPC = false; -extractMissingPostToGlobals(); - if($mode < 0 || $mode > 2){ $mode = 2; } diff --git a/hwe/c_auction.php b/hwe/c_auction.php index 5c84edb3..d86e6cfe 100644 --- a/hwe/c_auction.php +++ b/hwe/c_auction.php @@ -27,7 +27,6 @@ $sel = Util::getReq('sel', 'int'); $msg = ''; $msg2 = ''; -extractMissingPostToGlobals(); //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); diff --git a/hwe/c_chiefboard.php b/hwe/c_chiefboard.php index fecbd730..fe3a125d 100644 --- a/hwe/c_chiefboard.php +++ b/hwe/c_chiefboard.php @@ -10,8 +10,6 @@ $num = Util::getReq('num', 'int'); $reply = Util::getReq('reply'); // $title, $msg, $num -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_dipcenter.php b/hwe/c_dipcenter.php index 6010a352..cd9cd3b2 100644 --- a/hwe/c_dipcenter.php +++ b/hwe/c_dipcenter.php @@ -12,8 +12,6 @@ $rate = Util::getReq('rate', 'int'); $bill = Util::getReq('bill', 'int'); $secretlimit = Util::getReq('secretlimit', 'int'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_myBossInfo.php b/hwe/c_myBossInfo.php index 2470d34d..60ac314f 100644 --- a/hwe/c_myBossInfo.php +++ b/hwe/c_myBossInfo.php @@ -11,8 +11,6 @@ $genlist = Util::getReq('genlist', 'int'); $outlist = Util::getReq('outlist', 'int'); $citylist = Util::getReq('citylist', 'int'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_nationboard.php b/hwe/c_nationboard.php index 2d220b3d..2d5ca1eb 100644 --- a/hwe/c_nationboard.php +++ b/hwe/c_nationboard.php @@ -9,8 +9,6 @@ $msg = Util::getReq('msg'); $num = Util::getReq('num', 'int'); $reply = Util::getReq('reply'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_nationrule.php b/hwe/c_nationrule.php index d142b112..26932a63 100644 --- a/hwe/c_nationrule.php +++ b/hwe/c_nationrule.php @@ -6,8 +6,6 @@ include "func.php"; // $msg $msg = Util::getReq('msg'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_tournament.php b/hwe/c_tournament.php index b1ff93d7..f0026034 100644 --- a/hwe/c_tournament.php +++ b/hwe/c_tournament.php @@ -14,8 +14,6 @@ $gen = Util::getReq('gen', 'int'); $sel = Util::getReq('sel', 'int'); $trig = Util::getReq('trig', 'int'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/c_troop.php b/hwe/c_troop.php index 8efeb362..07fa5d1a 100644 --- a/hwe/c_troop.php +++ b/hwe/c_troop.php @@ -9,8 +9,6 @@ $name = Util::getReq('name'); $gen = Util::getReq('gen', 'int'); $troop = Util::getReq('troop', 'int'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = $session::getUserID(); diff --git a/hwe/c_vote.php b/hwe/c_vote.php index 9982f2e7..58bdac66 100644 --- a/hwe/c_vote.php +++ b/hwe/c_vote.php @@ -10,8 +10,6 @@ $comment = Util::getReq('comment'); $title = Util::getReq('title'); $str = Util::getReq('str'); -extractMissingPostToGlobals(); - //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); $userID = Session::getUserID(); diff --git a/hwe/join_post.php b/hwe/join_post.php index 09d9aad3..5238d2f9 100644 --- a/hwe/join_post.php +++ b/hwe/join_post.php @@ -56,8 +56,6 @@ $intel = Util::getReq('intel', 'int', 50); $join = Util::getReq('join'); //쓸모 없음 -extractMissingPostToGlobals(); - $rootDB = RootDB::db(); //회원 테이블에서 정보확인 $member = $rootDB->queryFirstRow('SELECT `no`, id, picture, grade, `name`, imgsvr FROM member WHERE no=%i', $userID); diff --git a/hwe/turn.php b/hwe/turn.php index 99328f3e..450783cd 100644 --- a/hwe/turn.php +++ b/hwe/turn.php @@ -8,8 +8,6 @@ include "func.php"; $type = Util::getReq('type', 'int', 0); $sel = Util::getReq('sel', 'int', 1); -extractMissingPostToGlobals(); - if($sel <= 0 || $sel > 12){ $sel = 1; }