mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site.js
This commit is contained in:
@@ -2265,10 +2265,7 @@ function tryRestartPHP(siteName){
|
||||
var loadT = layer.msg('尝试自动重启PHP['+data.phpversion+']...', { icon: 16, time: 0, shade: 0.3 });
|
||||
$.post('/plugins/run', reqData, function(data) {
|
||||
layer.close(loadT);
|
||||
if(data.status){
|
||||
layer.msg(data.msg,{icon:0,time:3000,shade: [0.3, '#000']});
|
||||
return;
|
||||
}
|
||||
layer.msg(data.msg,{icon:data.status?1:2,time:3000,shade: [0.3, '#000']});
|
||||
},'json');
|
||||
},'json');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user