Browse Source

Minor fix

old-stable
Mitesh Shah 11 years ago
parent
commit
0fddd76d1b
  1. 2
      src/modules/site/create/ee_mod_setup_wordpress.sh

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

@ -21,7 +21,7 @@ function ee_mod_setup_wordpress()
# Default WordPress prefix or custom prefix # Default WordPress prefix or custom prefix
if [ $($EE_CONFIG_GET wordpress.prefix) == "true" ];then if [ $($EE_CONFIG_GET wordpress.prefix) == "true" ];then
read -p "Enter the MySQL database table prefix [wp_]: " EE_WP_PREFIX read -p "Enter the WordPress table prefix [wp_]: " EE_WP_PREFIX
# Display EE_WP_PREFIX valid characters warning & try again # Display EE_WP_PREFIX valid characters warning & try again
while [[ ! ($EE_WP_PREFIX =~ ^[A-Za-z0-9_]*$) ]]; do while [[ ! ($EE_WP_PREFIX =~ ^[A-Za-z0-9_]*$) ]]; do
echo "Warning: table prefix can only contain numbers, letters, and underscores" echo "Warning: table prefix can only contain numbers, letters, and underscores"

Loading…
Cancel
Save