From 35f40fc8fca7c7f1283d8f861084900f31a50cf3 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 27 May 2024 14:37:09 +0800 Subject: [PATCH] Update mw.py --- class/core/mw.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class/core/mw.py b/class/core/mw.py index 98068b6ca..645caa7bf 100755 --- a/class/core/mw.py +++ b/class/core/mw.py @@ -1293,8 +1293,8 @@ def checkDomainPanel(): scheme = 'http' - local_ssl = mw.getRunDir()+'/ssl/local' - choose_file = mw.getRunDir()+'/ssl/choose.pl' + local_ssl = getRunDir()+'/ssl/local' + choose_file = getRunDir()+'/ssl/choose.pl' if os.path.exists(choose_file): choose = readFile(choose_file).strip() if choose == 'local': @@ -1309,7 +1309,7 @@ def checkDomainPanel(): nconf = getServerDir() + "/web_conf/nginx/vhost/panel.conf" if os.path.exists(nconf): port = "80" - + if domain: client_ip = getClientIp()