mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 22:29:25 +08:00
@@ -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'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user