diff --git a/bin/easyengine b/bin/easyengine index a8d40a2b..bf3d686e 100644 --- a/bin/easyengine +++ b/bin/easyengine @@ -327,26 +327,30 @@ elif [ "$EE_FIRST" = "site" ]; then fi fi + if [ "$EE_SITE_CACHE_OPTION" = "--wpfc" ]; then + if [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then + ee_lib_echo_escape "Configure nginx-helper:\thttp://$EE_DOMAIN/wp-admin/network/settings.php?page=nginx" + else + ee_lib_echo_escape "Configure nginx-helper:\thttp://$EE_DOMAIN/wp-admin/options-general.php?page=nginx" + fi + fi + if [ "$EE_SITE_CACHE_OPTION" = "--w3tc" ] || [ "$EE_SITE_CACHE_OPTION" = "--wpfc" ]; then if [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then ee_lib_echo_escape "Configure W3TC:\t\thttp://$EE_DOMAIN/wp-admin/network/admin.php?page=w3tc_general" else ee_lib_echo_escape "Configure W3TC:\t\thttp://$EE_DOMAIN/wp-admin/admin.php?page=w3tc_general" fi - ee_lib_echo_escape "Page Cache:\t\tDisk Enhanced" + if [ "$EE_SITE_CACHE_OPTION" = "--wpfc" ]; then + ee_lib_echo_escape "Page Cache:\t\tDisable" + elif [ "$EE_SITE_CACHE_OPTION" = "--w3tc" ]; then + ee_lib_echo_escape "Page Cache:\t\tDisk Enhanced" + fi ee_lib_echo_escape "Database Cache:\t\tMemcache" ee_lib_echo_escape "Object Cache:\t\tMemcache" ee_lib_echo_escape "Browser Cache:\t\tDisable" fi - if [ "$EE_SITE_CACHE_OPTION" = "--wpfc" ]; then - if [ "$EE_SITE_CREATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_CREATE_OPTION" = "--wpsubdomain" ]; then - ee_lib_echo_escape "Configure nginx-helper:\thttp://$EE_DOMAIN/wp-admin/network/settings.php?page=nginx" - else - ee_lib_echo_escape "Configure nginx-helper:\thttp://$EE_DOMAIN/wp-admin/options-general.php?page=nginx" - fi - fi - # Display Success Message ee_lib_echo_info "Successfully created new website: http://$EE_WWW_DOMAIN" fi