mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
u
This commit is contained in:
@@ -87,7 +87,6 @@ class plugin_api:
|
||||
|
||||
def getVersion(self, path):
|
||||
version_f = path + '/version.pl'
|
||||
print version_f
|
||||
if os.path.exists(version_f):
|
||||
return public.readFile(version_f).strip()
|
||||
return ''
|
||||
|
||||
@@ -625,10 +625,11 @@ class system_api:
|
||||
|
||||
# 重启面板
|
||||
def reWeb(self, get):
|
||||
# if not public.IsRestart(): return
|
||||
# public.returnMsg(False,'EXEC_ERR_TASK');
|
||||
if not public.isRestart():
|
||||
public.returnMsg(False, '请等待所有安装任务完成再执行!')
|
||||
|
||||
# public.ExecShell('/etc/init.d/bt restart &')
|
||||
return True
|
||||
public.returnMsg(True, '执行成功!')
|
||||
|
||||
# 修复面板
|
||||
def repPanel(self, get):
|
||||
|
||||
+1
-1
@@ -875,7 +875,7 @@ function setSelectChecked(c, d) {
|
||||
}
|
||||
}
|
||||
}
|
||||
GetTaskCount();
|
||||
getTaskCount();
|
||||
function RecInstall() {
|
||||
$.post("/ajax?action=GetSoftList", "", function(l){
|
||||
var c = "";
|
||||
|
||||
Reference in New Issue
Block a user