mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-17 13:02:07 +01:00
bug fix: vhost creation on ent
This commit is contained in:
@@ -222,6 +222,7 @@ class vhost:
|
||||
# General Configurations tab
|
||||
if ProcessUtilities.decideServer() == ProcessUtilities.OLS:
|
||||
try:
|
||||
|
||||
confFile = open(vhFile, "w+")
|
||||
|
||||
php = PHPManager.getPHPString(phpVersion)
|
||||
@@ -297,7 +298,7 @@ class vhost:
|
||||
command = 'redis-cli set %s' % (currentConf)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
return 1
|
||||
return 1
|
||||
|
||||
except BaseException as msg:
|
||||
logging.CyberCPLogFileWriter.writeToFile(
|
||||
|
||||
Reference in New Issue
Block a user