Browse Source

Minor fix

old-stable
Mitesh Shah 11 years ago
parent
commit
d7c8cd83a4
  1. 6
      src/modules/site/create/ee_mod_setup_wordpress.sh

6
src/modules/site/create/ee_mod_setup_wordpress.sh

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

Loading…
Cancel
Save