From 2683a5968fd75e25daa6a83499b97b3cbe5a12fa Mon Sep 17 00:00:00 2001 From: gau1991 Date: Wed, 1 Apr 2015 11:49:46 +0530 Subject: [PATCH] Fixed issue with HHVM config not copying --- ee/cli/plugins/site.py | 3 ++- ee/cli/plugins/stack.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 49b17192..d0cd4ba2 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -267,7 +267,8 @@ class EESiteCreateController(CementBaseController): self.app.pargs.wpsubdomain or self.app.pargs.hhvm): self.app.pargs.html = True - data = '' + data = None + (ee_domain, ee_www_domain) = ValidateDomain(self.app.pargs.site_name) ee_site_webroot = EEVariables.ee_webroot + ee_domain diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index d21d54aa..431f6b7f 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -608,6 +608,7 @@ class EEStackController(CementBaseController): if os.path.isdir("/etc/nginx") and (not os.path.isfile("/etc/nginx/common/php-hhvm.conf")): + data = dict() Log.debug(self, 'Writting the nginx configuration to ' 'file /etc/nginx/common/php-hhvm.conf') ee_nginx = open('/etc/nginx/common/php-hhvm.conf',