mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
Update index.py
This commit is contained in:
@@ -206,6 +206,11 @@ def confReplace():
|
||||
if not os.path.exists(a_conf):
|
||||
mw.writeFile(a_conf, mw.readFile(a_conf_tpl))
|
||||
|
||||
# copy resty lib
|
||||
src_resty_dir = getPluginDir()+'/resty'
|
||||
dst_resty_dir = getServerDir()+'/lualib/resty'
|
||||
mw.execShell('cp -rf ' src_resty_dir + '' + dst_resty_dir)
|
||||
|
||||
|
||||
def initDreplace():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user