mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 23:29:25 +08:00
Update index.py
This commit is contained in:
@@ -177,7 +177,7 @@ def initPgConfFile():
|
||||
if not os.path.exists(dst_file):
|
||||
service_path = mw.getServerDir()
|
||||
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user