From 9fb4fec723c754620a66be1c979aa9635cdc743e Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 13 Mar 2019 05:16:32 +0100 Subject: [PATCH] fix hhvl --- wo/cli/plugins/site.py | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index a0843da..9dd237d 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -472,27 +472,6 @@ class WOSiteCreateController(CementBaseController): if (not self.app.pargs.wpfc) and (not self.app.pargs.wpsc) and (not self.app.pargs.wpredis): data['basic'] = True - - if (not self.app.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 = 0 - self.app.pargs.hhvm = False - else: - data['hhvm'] = True - hhvm = 1 - else: - data['hhvm'] = True - hhvm = 1 - data['hhvm'] = False hhvm = 0 @@ -1014,8 +993,8 @@ class WOSiteUpdateController(CementBaseController): data['wpredis'] = True if pargs.hhvm != 'off': - data['hhvm'] = True - hhvm = True + data['hhvm'] = False + hhvm = False elif pargs.hhvm == 'off': data['hhvm'] = False hhvm = False @@ -1166,11 +1145,11 @@ class WOSiteUpdateController(CementBaseController): data['hhvm'] = False hhvm = False else: - data['hhvm'] = True - hhvm = True + data['hhvm'] = False + hhvm = False else: - data['hhvm'] = True - hhvm = True + data['hhvm'] = False + hhvm = False if pargs.letsencrypt == "on":