mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -177,7 +177,7 @@ def initPgConfFile():
|
|||||||
if not os.path.exists(dst_file):
|
if not os.path.exists(dst_file):
|
||||||
service_path = mw.getServerDir()
|
service_path = mw.getServerDir()
|
||||||
content = mw.readFile(file_tpl)
|
content = mw.readFile(file_tpl)
|
||||||
content = content.replace('{$SERVER_PATH}', service_path+'/'+getPluginName()+'/data')
|
content = content.replace('{$DATA_PATH}', service_path+'/'+getPluginName()+'/data')
|
||||||
mw.writeFile(dst_file, content)
|
mw.writeFile(dst_file, content)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user