diff --git a/src/modules/site/create/ee_mod_setup_wordpress.sh b/src/modules/site/create/ee_mod_setup_wordpress.sh index e9732912..840b0088 100644 --- a/src/modules/site/create/ee_mod_setup_wordpress.sh +++ b/src/modules/site/create/ee_mod_setup_wordpress.sh @@ -29,9 +29,6 @@ function ee_mod_setup_wordpress() done fi - # Let's log WordPress table prefix - echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG - # If wordpress.prefix = false # Then it never ask for WordPress prefix in this case $EE_WP_PREFIX is empty # If wordpress.prefix = true @@ -43,6 +40,9 @@ function ee_mod_setup_wordpress() EE_WP_PREFIX=wp_ fi + # Let's log WordPress table prefix + echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG + # Modify wp-config.php & move outside the webroot cp /var/www/$EE_DOMAIN/htdocs/wp-config-sample.php \ /var/www/$EE_DOMAIN/wp-config.php