diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index d0c28cbf..449179e6 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -570,7 +570,7 @@ PERMISSIONANDGIT() # Take Nginx Configuration In Git Version Control EEGITDIR=/etc/nginx - EEGITMESSAGE="Created New $3 $4 Website: $DOMAIN" + EEGITMESSAGE="Created New $WPNETWORKSITE $WPCACHEOPTION Website: $DOMAIN" EEGITCOMMIT } @@ -1178,9 +1178,11 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/basic.conf - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Basic Nginx SETUPDOMAIN @@ -1194,9 +1196,11 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/w3tc.conf - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup W3 Total Cahe Nginx SETUPDOMAIN @@ -1217,9 +1221,11 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpsc.conf - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup WP Super Cahe Nginx SETUPDOMAIN @@ -1240,9 +1246,11 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpfc.conf - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Fastcgi Cahe Nginx SETUPDOMAIN @@ -1270,9 +1278,11 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/basic.conf - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1292,10 +1302,12 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/w3tc.conf NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1322,10 +1334,12 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpsc.conf NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1352,10 +1366,12 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpfc.conf NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1388,10 +1404,12 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/basic.conf WPSUBDOMAINS="--subdomains" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1411,11 +1429,13 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/w3tc.conf WPSUBDOMAINS="--subdomains" NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1442,11 +1462,13 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpsc.conf WPSUBDOMAINS="--subdomains" NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN @@ -1473,11 +1495,13 @@ then then # Congigure Variable + WPNETWORKSITE=$3 + WPCACHEOPTION=$4 SITENAMECHECK=$5 NGINXCONF=$3/wpfc.conf WPSUBDOMAINS="--subdomains" NETWORKACTIVATE="--network" - echo -e " SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" + echo -e " WPNETWORKSITE = $WPNETWORKSITE \n WPCACHEOPTION = $WPCACHEOPTION \n SITENAMECHECK = $SITENAMECHECK \n NGINXCONF = $NGINXCONF \n WPSUBDOMAINS = $WPSUBDOMAINS \n NETWORKACTIVATE = $NETWORKACTIVATE" # Setup Domain WordPress & Database SETUPDOMAIN