Update index.py

pull/461/head
midoks 2 years ago
parent f9bec73252
commit 3f8a822d5e
  1. 2
      plugins/phpmyadmin/index.py

@ -220,6 +220,7 @@ def delPort():
def start():
initCfg()
openPort()
pma_dir = getServerDir() + "/phpmyadmin"
if os.path.exists(pma_dir):
@ -228,7 +229,6 @@ def start():
pma_dir_dst = pma_dir + "_" + rand_str
mw.execShell("mv " + pma_dir + " " + pma_dir_dst)
setCfg('path', 'phpmyadmin_' + rand_str)
openPort()
file_tpl = getPluginDir() + '/conf/phpmyadmin.conf'
file_run = getConf()

Loading…
Cancel
Save