Browse Source

Fixed sh error on Ubuntu 12.04

bugfixes
gau1991 10 years ago
parent
commit
5e3b0fa541
  1. 3
      ee/cli/plugins/site_functions.py

3
ee/cli/plugins/site_functions.py

@ -178,7 +178,8 @@ def setupwordpress(self, data):
Log.debug(self, "Setting up wp-config file")
if not data['multisite']:
Log.debug(self, "Generating wp-config for WordPress Single site")
EEShellExec.cmd_exec(self, "wp --allow-root core config "
EEShellExec.cmd_exec(self, "bash -c \'php /usr/bin/wp --allow-root "
+ "core config "
+ "--dbname={0} --dbprefix={1} --dbuser={2} "
.format(data['ee_db_name'], ee_wp_prefix,
data['ee_db_user'])

Loading…
Cancel
Save