From a03d4e7ddabdc88717cbe111da4fd1e8313e065b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 5 Apr 2024 01:50:27 +0800 Subject: [PATCH] Update index.py --- plugins/phpmyadmin/index.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/phpmyadmin/index.py b/plugins/phpmyadmin/index.py index 15116b83a..12d53735a 100755 --- a/plugins/phpmyadmin/index.py +++ b/plugins/phpmyadmin/index.py @@ -452,8 +452,11 @@ def installVersion(): def pluginsDBSupport(): data = {} data['status'] = status() - data['cfg'] = getCfg() + if (data['status'] == 'stop'): + return mw.returnJson(True, 'ok', data) + + data['cfg'] = getCfg() port = getPort() ip = '127.0.0.1' if not mw.isAppleSystem():