mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site.py
This commit is contained in:
+1
-1
@@ -961,7 +961,7 @@ class sites(object):
|
||||
content = mw.readFile(conf_file)
|
||||
if content:
|
||||
content = content.replace(info['path'], path)
|
||||
mw.writeFile(file, content)
|
||||
mw.writeFile(conf_file, content)
|
||||
|
||||
thisdb.setSitesData(site_id, path=path)
|
||||
msg = mw.getInfo('修改网站[{1}]物理路径成功!', (info['name'],))
|
||||
|
||||
Reference in New Issue
Block a user