From 5ebcaed032ccb5aee1261a5250e960306543aa56 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 24 Jun 2013 19:22:34 +0530 Subject: [PATCH] Support wpsubdir w3tc --- usr/local/sbin/easyengine | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 7d6ed1b0..7dbbf3aa 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -1244,6 +1244,22 @@ then # Display Success Message echo echo -e "\033[34m Successfully Created New $3 $4 Website: http://$DOMAIN \e[0m" + + elif [ "$4" = "w3tc" ] + then + + # Congigure Variable + SITENAMECHECK=$5 + NGINXCONF=$3/w3tc.conf + echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" + + # Setup W3 Total Cahe Nginx + TOTALCACHENGINX + + # Display Success Message + echo + echo -e "\033[34m Successfully Created New $3 $4 Website: http://$DOMAIN \e[0m" + fi fi