another fix for hhvm

This commit is contained in:
VirtuBox
2019-03-13 06:08:38 +01:00
parent 9fb4fec723
commit d3345c2717

View File

@@ -472,8 +472,6 @@ class WOSiteCreateController(CementBaseController):
if (not self.app.pargs.wpfc) and (not self.app.pargs.wpsc) and (not self.app.pargs.wpredis): if (not self.app.pargs.wpfc) and (not self.app.pargs.wpsc) and (not self.app.pargs.wpredis):
data['basic'] = True data['basic'] = True
data['hhvm'] = False
hhvm = 0
if (cache == 'wpredis' and (self.app.pargs.experimental)): if (cache == 'wpredis' and (self.app.pargs.experimental)):
Log.info(self, "Redis is experimental feature and it may not " Log.info(self, "Redis is experimental feature and it may not "
@@ -823,7 +821,6 @@ class WOSiteUpdateController(CementBaseController):
self.doupdatesite(pargs) self.doupdatesite(pargs)
def doupdatesite(self, pargs): def doupdatesite(self, pargs):
hhvm = None
letsencrypt = False letsencrypt = False
php73 = None php73 = None
@@ -1131,26 +1128,6 @@ class WOSiteUpdateController(CementBaseController):
data['php73'] = True data['php73'] = True
php73 = True php73 = True
if pargs.hhvm == "on":
if pargs.experimental:
Log.info(self, "HHVM is experimental feature and it may not"
" work with all plugins of your site.\nYou can "
"disable it by passing --hhvm=off later.\nDo you wish"
" to enable HHVM now for {0}?".format(wo_domain))
# Check prompt
check_prompt = input("Type \"y\" to continue [n]:")
if check_prompt != "Y" and check_prompt != "y":
Log.info(self, "Not using HHVM for site")
data['hhvm'] = False
hhvm = False
else:
data['hhvm'] = False
hhvm = False
else:
data['hhvm'] = False
hhvm = False
if pargs.letsencrypt == "on": if pargs.letsencrypt == "on":
if pargs.experimental: if pargs.experimental: