mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:19:26 +08:00
Update index.py
This commit is contained in:
@@ -364,7 +364,9 @@ class classApi:
|
||||
|
||||
if os.path.islink(spath):
|
||||
dpath = os.readlink(spath)
|
||||
mw.buildSoftLink(spath, dpath, True)
|
||||
# mw.buildSoftLink(spath, dpath, True)
|
||||
self.send('/files/exec_shell',
|
||||
{"shell": 'ln -sf "' + spath + '" "' + dpath + '"', "path": "/www"}, 30)
|
||||
return True
|
||||
|
||||
if not os.path.isdir(spath):
|
||||
|
||||
Reference in New Issue
Block a user