|
@ -29,9 +29,6 @@ function ee_mod_setup_wordpress() |
|
|
done |
|
|
done |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# Let's log WordPress table prefix |
|
|
|
|
|
echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG |
|
|
|
|
|
|
|
|
|
|
|
# If wordpress.prefix = false |
|
|
# If wordpress.prefix = false |
|
|
# Then it never ask for WordPress prefix in this case $EE_WP_PREFIX is empty |
|
|
# Then it never ask for WordPress prefix in this case $EE_WP_PREFIX is empty |
|
|
# If wordpress.prefix = true |
|
|
# If wordpress.prefix = true |
|
@ -43,6 +40,9 @@ function ee_mod_setup_wordpress() |
|
|
EE_WP_PREFIX=wp_ |
|
|
EE_WP_PREFIX=wp_ |
|
|
fi |
|
|
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 |
|
|
# Modify wp-config.php & move outside the webroot |
|
|
cp /var/www/$EE_DOMAIN/htdocs/wp-config-sample.php \ |
|
|
cp /var/www/$EE_DOMAIN/htdocs/wp-config-sample.php \ |
|
|
/var/www/$EE_DOMAIN/wp-config.php |
|
|
/var/www/$EE_DOMAIN/wp-config.php |
|
|