|
@ -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\"" |
|
|