mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-09 06:46:10 +01:00
bug fix in do check
This commit is contained in:
@@ -22,6 +22,8 @@ import hashlib
|
||||
class ApplicationInstaller(multi.Thread):
|
||||
|
||||
LOCALHOST = 'localhost'
|
||||
REMOTE = 0
|
||||
PORT = '3306'
|
||||
|
||||
def __init__(self, installApp, extraArgs):
|
||||
multi.Thread.__init__(self)
|
||||
@@ -421,9 +423,10 @@ $parameters = array(
|
||||
try:
|
||||
import json
|
||||
jsonData = json.loads(open(passFile, 'r').read())
|
||||
|
||||
mysqlhost = jsonData['mysqlhost']
|
||||
ApplicationInstaller.LOCALHOST = mysqlhost
|
||||
ApplicationInstaller.REMOTE = 1
|
||||
ApplicationInstaller.PORT = jsonData['mysqlport']
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user