dbConn 삭제.

This commit is contained in:
2018-04-05 02:24:46 +09:00
parent 51316abd42
commit 0c0ef213f9
74 changed files with 249 additions and 122 deletions
+3 -1
View File
@@ -5,13 +5,15 @@ include "lib.php";
include "func.php";
//로그인 검사
$session = Session::requireGameLogin()->setReadOnly();
$connect = dbConn();
if(Session::getUserGrade() < 5) {
//echo "<script>location.replace('_admin4.php');</script>";
echo '_admin4.php';//TODO:debug all and replace
}
$db = DB::db();
$connect=$db->get();
//NOTE: 왜 기능이 admin2와 admin4가 같이 있는가?
//NOTE: 왜 블럭 시 admin4에선 금쌀을 없애지 않는가?
switch($btn) {