입구 페이지 파일명 정리

This commit is contained in:
2018-03-22 02:50:33 +09:00
parent 23e0ecf17c
commit e5ff6b2218
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -156,10 +156,10 @@ function Entrance_ServerListPosition() {
function Entrance_Logout() { function Entrance_Logout() {
Popup_Wait(function() { Popup_Wait(function() {
PostJSON( PostJSON(
"../i_entrance/logoutPost.php", { "../i_entrance/j_logout.php", {
}, },
function(response, textStatus) { function(response, textStatus) {
if(response.result == "SUCCESS") { if(response.result) {
Popup_WaitHide(); Popup_WaitHide();
ReplaceFrame("../"); ReplaceFrame("../");
} else { } else {
+2 -2
View File
@@ -79,7 +79,7 @@ function Entrance_AdminChangeNotice() {
Popup_Confirm('정말 실행하시겠습니까?', function() { Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() { Popup_Wait(function() {
PostJSON( PostJSON(
"../i_entrance/adminPost.php", { "../i_entrance/j_server_change_status.php", {
action: 'notice', action: 'notice',
notice: notice notice: notice
}, },
@@ -102,7 +102,7 @@ function modifyServerStatus(caller, action) {
Popup_Confirm('정말 실행하시겠습니까?', function() { Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() { Popup_Wait(function() {
PostJSON( PostJSON(
"../i_entrance/adminPost.php", { "../i_entrance/j_server_change_status.php", {
server: server, server: server,
action: action action: action
}, },
@@ -10,6 +10,6 @@ $SESSION->logout();
unset($_SESSION['access_token']); unset($_SESSION['access_token']);
setcookie("hello", "", time()-3600); setcookie("hello", "", time()-3600);
echo json_encode([ returnJson([
'result'=>'SUCCESS' 'result'=>true
]); ]);