|
|
@ -620,6 +620,30 @@ elif [ "$EE_FIRST" = "site" ]; then |
|
|
|
|
|
|
|
# Display WordPress cache plugin settings |
|
|
|
ee_mod_plugin_settings |
|
|
|
elif [[ "$EE_SITE_CURRENT_OPTION" = "WPSINGLE BASIC" || "$EE_SITE_CURRENT_OPTION" = "WPSINGLE WP SUPER CACHE" || "$EE_SITE_CURRENT_OPTION" = "WPSINGLE W3 TOTAL CACHE" || "$EE_SITE_CURRENT_OPTION" = "WPSINGLE FAST CGI" ]] \ |
|
|
|
&& [[ "$EE_SITE_CREATE_OPTION" != "--html" && "$EE_SITE_CREATE_OPTION" != "--php" && "$EE_SITE_CREATE_OPTION" != "--mysql" ]]; then |
|
|
|
# Let's take backup first |
|
|
|
ee_mod_site_backup |
|
|
|
|
|
|
|
# Let's start update |
|
|
|
ee_mod_update_nginx |
|
|
|
|
|
|
|
# Setup WordPress Network |
|
|
|
if [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then |
|
|
|
ee_mod_setup_network |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ "$EE_SITE_CURRENT_OPTION" = "WPSINGLE BASIC" && "$EE_SITE_CACHE_OPTION" != "--basic" ]]; then |
|
|
|
if [ "$EE_SITE_CACHE_OPTION" = "--wpsc" ]; then |
|
|
|
ee_mod_plugin_wpsc |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "$EE_SITE_CACHE_OPTION" = "--w3tc" ] || [ "$EE_SITE_CACHE_OPTION" = "--wpfc" ]; then |
|
|
|
ee_mod_plugin_w3tc |
|
|
|
fi |
|
|
|
else |
|
|
|
ee_mod_update_plugins |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|