From fbc8639c298a72adee97740cbcd341f3d5238d1d Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 24 Feb 2015 19:43:15 +0530 Subject: [PATCH] Fix #442 Site create issue --- ee/cli/plugins/site_functions.py | 74 +++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 113682de..5ab34e44 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -184,31 +184,35 @@ def setupwordpress(self, data): Log.debug(self, "Generating wp-config for WordPress Single site") Log.debug(self, "bash -c \"php /usr/bin/wp --allow-root " + "core config " - + "--dbname={0} --dbprefix={1} --dbuser={2} " + + "--dbname=\'{0}\' --dbprefix=\'{1}\' --dbuser=\'{2}\' " + "--dbhost=\'{3}\' " .format(data['ee_db_name'], ee_wp_prefix, - data['ee_db_user']) + data['ee_db_user'], data['ee_db_host']) + "--dbpass= " "--extra-php<