From d2bea9980d584795c6251675671d7a7581cae3b5 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Sat, 21 Mar 2015 17:26:04 +0530 Subject: [PATCH] HHVM virtualconf added --- ee/cli/plugins/site.py | 3 ++- ee/cli/templates/virtualconf.mustache | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 67d55402..8e38ec50 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -280,7 +280,8 @@ class EESiteCreateController(CementBaseController): if (self.app.pargs.html and not (self.app.pargs.php or self.app.pargs.mysql or self.app.pargs.wp or self.app.pargs.w3tc or self.app.pargs.wpfc or self.app.pargs.wpsc or - self.app.pargs.wpsubdir or self.app.pargs.wpsubdomain)): + self.app.pargs.wpsubdir or self.app.pargs.wpsubdomain + or self.app.pargs.hhvm)): data = dict(site_name=ee_domain, www_domain=ee_www_domain, static=True, basic=False, wp=False, w3tc=False, diff --git a/ee/cli/templates/virtualconf.mustache b/ee/cli/templates/virtualconf.mustache index f33c85c9..5d23a917 100644 --- a/ee/cli/templates/virtualconf.mustache +++ b/ee/cli/templates/virtualconf.mustache @@ -27,7 +27,7 @@ server { } {{/static}} - {{^static}}include{{/static}} {{#basic}}common/php.conf;{{/basic}}{{#w3tc}}common/w3tc.conf;{{/w3tc}}{{#wpfc}}common/wpfc.conf;{{/wpfc}} {{#wpsc}}common/wpsc.conf;{{/wpsc}} {{#basic_hhvm}}common/php-hhvm.conf;{{/basic_hhvm}}{{#w3tc_hhvm}}common/w3tc-hhvm.conf;{{/w3tc_hhvm}}{{#wpfc_hhvm}}common/wpfc-hhvm.conf;{{/wpfc_hhvm}} {{#wpsc_hhvm}}common/wpsc-hhvm.conf;{{/wpsc_hhvm}} + {{^static}}include{{/static}} {{^hhvm}}{{#basic}}common/php.conf;{{/basic}}{{#w3tc}}common/w3tc.conf;{{/w3tc}}{{#wpfc}}common/wpfc.conf;{{/wpfc}} {{#wpsc}}common/wpsc.conf;{{/wpsc}} {{/hhvm}}{{#hhvm}}{{#basic}}common/php-hhvm.conf;{{/basic}}{{#w3tc}}common/w3tc-hhvm.conf;{{/w3tc}}{{#wpfc}}common/wpfc-hhvm.conf;{{/wpfc}} {{#wpsc}}common/wpsc-hhvm.conf;{{/wpsc}} {{/hhvm}} {{#wpsubdir}}include common/wpsubdir.conf;{{/wpsubdir}} {{#wp}}include common/wpcommon.conf;{{/wp}} include common/locations.conf;