From b67bc5ae99a2fd85a196d62a5ed4644d10a516da Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sat, 3 Apr 2021 22:40:07 +0500 Subject: [PATCH] bug fix: vhost creation on ent --- plogical/vhost.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plogical/vhost.py b/plogical/vhost.py index ab56bb61c..dfc2eab82 100755 --- a/plogical/vhost.py +++ b/plogical/vhost.py @@ -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(