Browse Source

Fix: tuple index out of range on multisite install

bugfixes
Josh Lyford 10 years ago
parent
commit
bd6ec5ec97
  1. 2
      ee/cli/plugins/site_functions.py

2
ee/cli/plugins/site_functions.py

@ -218,7 +218,7 @@ def setupwordpress(self, data):
"\n\ndefine(\'WP_DEBUG\', false);")) "\n\ndefine(\'WP_DEBUG\', false);"))
EEShellExec.cmd_exec(self, "bash -c \"php /usr/bin/wp --allow-root " EEShellExec.cmd_exec(self, "bash -c \"php /usr/bin/wp --allow-root "
+ "core config " + "core config "
+ "--dbname={0} --dbprefix={1} --dbhost={3} " + "--dbname={0} --dbprefix={1} --dbhost={2} "
.format(data['ee_db_name'], ee_wp_prefix, data['ee_db_host']) .format(data['ee_db_name'], ee_wp_prefix, data['ee_db_host'])
+ "--dbuser={0} --dbpass={1} " + "--dbuser={0} --dbpass={1} "
"--extra-php<<PHP \n {2} {3} {4}\nPHP\"" "--extra-php<<PHP \n {2} {3} {4}\nPHP\""

Loading…
Cancel
Save