$_SESSION 으로 직접 접근하는 코드들을 모두 Session 클래스로 통합

This commit is contained in:
2018-04-05 02:04:43 +09:00
parent b3e621fbfd
commit 51316abd42
61 changed files with 177 additions and 180 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ $admin = MYDB_fetch_array($result);
$admin['killturn'] *= 3;
$query = "update general set killturn='{$admin['killturn']}' where owner='{$_SESSION['userID']}'";
$query = "update general set killturn='{$admin['killturn']}' where owner='{$session->userID}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
//echo "<script>location.replace('b_myPage.php');</script>";