mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update site_api.py
This commit is contained in:
@@ -167,7 +167,7 @@ class site_api:
|
||||
zipName = backupPath + '/' + fileName
|
||||
if not (os.path.exists(backupPath)):
|
||||
os.makedirs(backupPath)
|
||||
tmps = '/tmp/panelExec.log'
|
||||
tmps = public.getRunDir() + '/tmp/panelExec.log'
|
||||
execStr = "cd '" + find['path'] + "' && zip '" + \
|
||||
zipName + "' -r ./* > " + tmps + " 2>&1"
|
||||
# print execStr
|
||||
|
||||
Reference in New Issue
Block a user