Skip to content

Commit

Permalink
Update site.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 25, 2024
1 parent 7405824 commit 53d08c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/utils/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def setSitePath(self, site_id, path):
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'],))
Expand Down

0 comments on commit 53d08c2

Please sign in to comment.