diff --git a/admin.php b/admin.php
index a333969..a9ecc43 100644
--- a/admin.php
+++ b/admin.php
@@ -1,9 +1,9 @@
@@ -157,7 +157,7 @@
-
+
@@ -195,7 +195,7 @@
}
logoutState = 0;
- xhr.open('post', './common/logout.php', true);
+ xhr.open('post', './common/logoutHandle.php', true);
xhr.setRequestHeader('Content-type','application/x-www-form-urlencoded');
xhr.send('');
xhr.onreadystatechange = function() {
@@ -204,7 +204,7 @@
alert(responseObj.message);
if (responseObj.code == 1) {
setTimeout(function() {
- window.location.href = './login.html';
+ window.location.href = './login.php';
}, 500);
} else {
logoutState = 1;
diff --git a/common/login.php b/common/loginHandle.php
similarity index 100%
rename from common/login.php
rename to common/loginHandle.php
diff --git a/common/logout.php b/common/logoutHandle.php
similarity index 100%
rename from common/logout.php
rename to common/logoutHandle.php
diff --git a/common/verify.php b/common/verifyHandle.php
similarity index 100%
rename from common/verify.php
rename to common/verifyHandle.php
diff --git a/login.html b/login.php
similarity index 98%
rename from login.html
rename to login.php
index 6a7ace9..f04789d 100644
--- a/login.html
+++ b/login.php
@@ -1,3 +1,11 @@
+
+
@@ -253,7 +261,7 @@
return;
}
- xhr.open('post', './common/login.php', true);
+ xhr.open('post', './common/loginHandle.php', true);
xhr.setRequestHeader('Content-type','application/x-www-form-urlencoded');
xhr.send('user=' + user + '&password=' + password);
xhr.onreadystatechange = function() {
diff --git a/verify.html b/verify.php
similarity index 97%
rename from verify.html
rename to verify.php
index c42f8e6..ec874be 100644
--- a/verify.html
+++ b/verify.php
@@ -1,3 +1,11 @@
+
+
@@ -213,7 +221,7 @@
return;
}
- xhr.open('post', './common/verify.php', true);
+ xhr.open('post', './common/verifyHandle.php', true);
xhr.setRequestHeader('Content-type','application/x-www-form-urlencoded');
xhr.send('txt=' + txt);
xhr.onreadystatechange = function() {