mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-21 06:52:06 +01:00
bug fix joomla installer
This commit is contained in:
@@ -1713,14 +1713,14 @@ class WebsiteManager:
|
||||
## Installation
|
||||
salt = randomPassword.generate_pass(32)
|
||||
# return salt
|
||||
password_hash = hashlib.md5(password + salt).hexdigest()
|
||||
password_hash = hashlib.md5((password + salt).encode('utf-8')).hexdigest()
|
||||
password = password_hash + ":" + salt
|
||||
|
||||
statusFile = open(tempStatusPath, 'w')
|
||||
statusFile.writelines('Downloading Joomla Core..,20')
|
||||
statusFile.close()
|
||||
|
||||
execPath = "sudo python " + virtualHostUtilities.cyberPanel + "/plogical/virtualHostUtilities.py"
|
||||
execPath = "/usr/local/CyberCP/bin/python " + virtualHostUtilities.cyberPanel + "/plogical/virtualHostUtilities.py"
|
||||
|
||||
execPath = execPath + " installJoomla --virtualHostName " + domainName + \
|
||||
" --virtualHostUser " + externalApp + " --path " + finalPath + " --dbName " + dbName + \
|
||||
|
||||
Reference in New Issue
Block a user