페이지 리다이렉트 방식 변경
<script>location.replace</script>에서 PHP redirect header를 직접 이용하는 방식으로.
This commit is contained in:
+2
-2
@@ -19,6 +19,6 @@ $admin['killturn'] *= 3;
|
||||
$query = "update general set killturn='{$admin['killturn']}' where owner='{$userID}'";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
|
||||
//echo "<script>location.replace('b_myPage.php');</script>";
|
||||
echo 'b_myPage.php'; //TODO:debug all and replace
|
||||
|
||||
header('location:b_myPage.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user