mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
+4
-1
@@ -1305,7 +1305,10 @@ def getClientIp():
|
||||
def checkDomainPanel():
|
||||
tmp = getHost()
|
||||
domain = readFile('data/bind_domain.pl')
|
||||
port = readFile('data/port.pl').strip()
|
||||
|
||||
port = 7200
|
||||
if os.path.exists('data/port.pl'):
|
||||
port = readFile('data/port.pl').strip()
|
||||
|
||||
scheme = 'http'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user