Update index.py

pull/109/head
midoks 3 years ago
parent bbb97b9fdd
commit 6877e84d3e
  1. 4
      plugins/phpmyadmin/index.py

@ -120,8 +120,8 @@ def start():
if not os.path.exists(conf_run):
conf_tpl = getPluginDir() + '/conf/config.inc.php'
centent = mw.readFile(conf_tpl)
# centent = contentReplace(centent)
# print(mw.writeFile(conf_run, centent))
centent = contentReplace(centent)
mw.writeFile(conf_run, centent)
mw.restartWeb()
return 'ok'

Loading…
Cancel
Save