From 1903b104365a8927d3f6da0f41ad918f1aa1f953 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 25 Jun 2022 10:54:24 +0800 Subject: [PATCH] Update index.py --- plugins/phpmyadmin/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/phpmyadmin/index.py b/plugins/phpmyadmin/index.py index a6276cdc7..751de00e5 100755 --- a/plugins/phpmyadmin/index.py +++ b/plugins/phpmyadmin/index.py @@ -116,6 +116,10 @@ def start(): centent = contentReplace(centent) mw.writeFile(file_run, centent) + tmp = getServerDir() + '/phpmyadmin/tmp' + if not os.path.exists(tmp): + os.mkdir(tmp) + conf_run = getServerDir() + '/phpmyadmin/config.inc.php' if not os.path.exists(conf_run): conf_tpl = getPluginDir() + '/conf/config.inc.php'