Browse Source

HHVM virtualconf added

bugfixes
gau1991 10 years ago
parent
commit
d2bea9980d
  1. 3
      ee/cli/plugins/site.py
  2. 2
      ee/cli/templates/virtualconf.mustache

3
ee/cli/plugins/site.py

@ -280,7 +280,8 @@ class EESiteCreateController(CementBaseController):
if (self.app.pargs.html and not (self.app.pargs.php or 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 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 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, data = dict(site_name=ee_domain, www_domain=ee_www_domain,
static=True, basic=False, wp=False, w3tc=False, static=True, basic=False, wp=False, w3tc=False,

2
ee/cli/templates/virtualconf.mustache

@ -27,7 +27,7 @@ server {
} }
{{/static}} {{/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}} {{#wpsubdir}}include common/wpsubdir.conf;{{/wpsubdir}}
{{#wp}}include common/wpcommon.conf;{{/wp}} {{#wp}}include common/wpcommon.conf;{{/wp}}
include common/locations.conf; include common/locations.conf;

Loading…
Cancel
Save