mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index.py
This commit is contained in:
@@ -360,12 +360,14 @@ def initDreplace():
|
||||
content = mw.readFile(init_worker)
|
||||
content = contentReplace(content)
|
||||
mw.writeFile(dst_init_worker, content)
|
||||
mw.writeFile(init_worker, content)
|
||||
|
||||
access_file = root_access_dir + '/opwaf_init.lua'
|
||||
config = path + "/waf/lua/init.lua"
|
||||
content = mw.readFile(config)
|
||||
content = contentReplace(content)
|
||||
mw.writeFile(access_file, content)
|
||||
mw.writeFile(config, content)
|
||||
|
||||
waf_conf = dstWafConf()
|
||||
if not os.path.exists(waf_conf):
|
||||
|
||||
Reference in New Issue
Block a user