Merge pull request #925 from midoks/dev

常规更新
This commit is contained in:
Mr Chen 2026-07-07 02:35:02 +08:00 committed by GitHub
commit fb6499cb35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -332,6 +332,14 @@ def reload():
makeOpDstRunLua()
luaRestart()
# 配置重写
path = luaConf()
path_tpl = getPluginDir() + '/conf/webstats.conf'
content = mw.readFile(path_tpl)
content = contentReplace(content)
mw.writeFile(path, content)
return 'ok'