Update index.py
This commit is contained in:
parent
4f4d1e7580
commit
0bbfb58e67
|
|
@ -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'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue