mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -125,13 +125,13 @@ def contentReplace(content):
|
||||
|
||||
cfg = getCfg()
|
||||
|
||||
if (cfg['choose'] == "mysql"):
|
||||
if cfg['choose'] == "mysql":
|
||||
content = content.replace('{$CHOOSE_DB}', 'mysql')
|
||||
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql')
|
||||
elif (cfg['choose'] == "mysql-apt"):
|
||||
elif cfg['choose'] == "mysql-apt":
|
||||
content = content.replace('{$CHOOSE_DB}', 'mysql')
|
||||
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-apt')
|
||||
elif (cfg['choose'] == "mysql-yum"):
|
||||
elif cfg['choose'] == "mysql-yum":
|
||||
content = content.replace('{$CHOOSE_DB}', 'mysql')
|
||||
content = content.replace('{$CHOOSE_DB_DIR}', 'mysql-yum')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user