mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -42,6 +42,9 @@ def getConf():
|
||||
path = getServerDir() + "/mongodb.conf"
|
||||
return path
|
||||
|
||||
def getConfKey():
|
||||
key = getServerDir() + "/mongodb.key"
|
||||
return key
|
||||
|
||||
def getConfTpl():
|
||||
path = getPluginDir() + "/config/mongodb.conf"
|
||||
@@ -1451,6 +1454,8 @@ if __name__ == "__main__":
|
||||
print(runReplInfo())
|
||||
elif func == 'conf':
|
||||
print(getConf())
|
||||
elif func == 'config_key':
|
||||
print(getConfKey())
|
||||
elif func == 'get_config':
|
||||
print(getConfig())
|
||||
elif func == 'set_config':
|
||||
|
||||
Reference in New Issue
Block a user