mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2024-11-24 04:52:54 +08:00
修复手残bug
不小心误删了保存设置的代码233
This commit is contained in:
parent
f4eb01463d
commit
0794b18efc
@ -102,6 +102,27 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
function saveConfig() {
|
||||
var htmlobj = $.ajax({
|
||||
url: "/?action=saveconfig",
|
||||
async:true,
|
||||
timeout:5000,
|
||||
data: {
|
||||
SiteName: $("#SiteName").val(),
|
||||
Description: $("#Description").val(),
|
||||
Theme: $("#Theme").val()
|
||||
},
|
||||
error: function() {
|
||||
window.parent.frames.showmsg(htmlobj.responseText);
|
||||
},
|
||||
success: function() {
|
||||
console.log(htmlobj.responseText);
|
||||
window.parent.frames.showmsg(htmlobj.responseText);
|
||||
location = '?page=setting'
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
window.onload = function() {
|
||||
checkUpdate();
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// PHPMC 7 Version define
|
||||
// Don't change this, because it will interfere your update.
|
||||
define("PHPMC_VERSION", "7.3.3200");
|
||||
define("PHPMC_VERSION", "7.3.3233");
|
||||
|
||||
include(ROOT . "/include/core/PHPMC/Event.php");
|
||||
include(ROOT . "/include/core/PHPMC/User.php");
|
||||
|
Loading…
Reference in New Issue
Block a user