From 6877e84d3e79a5a1907a003b17f90fa90624a7e1 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 19 Jun 2022 12:41:40 +0800 Subject: [PATCH] Update index.py --- plugins/phpmyadmin/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/phpmyadmin/index.py b/plugins/phpmyadmin/index.py index e86967f2b..a6276cdc7 100755 --- a/plugins/phpmyadmin/index.py +++ b/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'