|
@ -556,11 +556,9 @@ EEPERMISSION() |
|
|
BASICNGINX() |
|
|
BASICNGINX() |
|
|
{ |
|
|
{ |
|
|
# Check SITENAME Is Empty Or Not |
|
|
# Check SITENAME Is Empty Or Not |
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
EESITENAME |
|
|
EESITENAME |
|
|
|
|
|
|
|
|
# Creating Website $DOMAIN |
|
|
# Creating Website $DOMAIN |
|
|
NGINXCONF=$3/basic.conf |
|
|
|
|
|
EEDOMAINSETUP |
|
|
EEDOMAINSETUP |
|
|
|
|
|
|
|
|
# Setup WordPress Webroot & Database |
|
|
# Setup WordPress Webroot & Database |
|
@ -577,11 +575,9 @@ BASICNGINX() |
|
|
TOTALCACHENGINX() |
|
|
TOTALCACHENGINX() |
|
|
{ |
|
|
{ |
|
|
# Check SITENAME Is Empty Or Not |
|
|
# Check SITENAME Is Empty Or Not |
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
EESITENAME |
|
|
EESITENAME |
|
|
|
|
|
|
|
|
# Creating Website $DOMAIN |
|
|
# Creating Website $DOMAIN |
|
|
NGINXCONF=$3/w3tc.conf |
|
|
|
|
|
EEDOMAINSETUP |
|
|
EEDOMAINSETUP |
|
|
|
|
|
|
|
|
# Setup WordPress Webroot & Database |
|
|
# Setup WordPress Webroot & Database |
|
@ -613,11 +609,9 @@ TOTALCACHENGINX() |
|
|
SUPERCACHENGINX() |
|
|
SUPERCACHENGINX() |
|
|
{ |
|
|
{ |
|
|
# Check SITENAME Is Empty Or Not |
|
|
# Check SITENAME Is Empty Or Not |
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
EESITENAME |
|
|
EESITENAME |
|
|
|
|
|
|
|
|
# Creating Website $DOMAIN |
|
|
# Creating Website $DOMAIN |
|
|
NGINXCONF=$3/wpsc.conf |
|
|
|
|
|
EEDOMAINSETUP |
|
|
EEDOMAINSETUP |
|
|
|
|
|
|
|
|
# Setup WordPress Webroot & Database |
|
|
# Setup WordPress Webroot & Database |
|
@ -649,11 +643,9 @@ SUPERCACHENGINX() |
|
|
FASTCGINGINX() |
|
|
FASTCGINGINX() |
|
|
{ |
|
|
{ |
|
|
# Check SITENAME Is Empty Or Not |
|
|
# Check SITENAME Is Empty Or Not |
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
EESITENAME |
|
|
EESITENAME |
|
|
|
|
|
|
|
|
# Creating Website $DOMAIN |
|
|
# Creating Website $DOMAIN |
|
|
NGINXCONF=$3/wpfc.conf |
|
|
|
|
|
EEDOMAINSETUP |
|
|
EEDOMAINSETUP |
|
|
|
|
|
|
|
|
# Setup WordPress Webroot & Database |
|
|
# Setup WordPress Webroot & Database |
|
@ -689,7 +681,6 @@ FASTCGINGINX() |
|
|
echo -e "\033[34m Permalink Settings: http://$DOMAIN/wp-admin/options-permalink.php \e[0m" |
|
|
echo -e "\033[34m Permalink Settings: http://$DOMAIN/wp-admin/options-permalink.php \e[0m" |
|
|
echo -e "\033[34m Nginx Helper: http://$DOMAIN/wp-admin/options-general.php?page=nginx \e[0m" |
|
|
echo -e "\033[34m Nginx Helper: http://$DOMAIN/wp-admin/options-general.php?page=nginx \e[0m" |
|
|
echo -e "\033[34m W3 Total Cache: http://$DOMAIN/wp-admin/admin.php?page=w3tc_general \e[0m" |
|
|
echo -e "\033[34m W3 Total Cache: http://$DOMAIN/wp-admin/admin.php?page=w3tc_general \e[0m" |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Easy Engine System Settings |
|
|
# Easy Engine System Settings |
|
@ -1174,6 +1165,11 @@ then |
|
|
if [ "$4" = "basic" ] |
|
|
if [ "$4" = "basic" ] |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
|
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
NGINXCONF=$3/basic.conf |
|
|
|
|
|
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" |
|
|
|
|
|
|
|
|
# Setup Basic Nginx |
|
|
# Setup Basic Nginx |
|
|
BASICNGINX |
|
|
BASICNGINX |
|
|
|
|
|
|
|
@ -1184,6 +1180,11 @@ then |
|
|
elif [ "$4" = "w3tc" ] |
|
|
elif [ "$4" = "w3tc" ] |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
|
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
NGINXCONF=$3/w3tc.conf |
|
|
|
|
|
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" |
|
|
|
|
|
|
|
|
# Setup W3 Total Cahe Nginx |
|
|
# Setup W3 Total Cahe Nginx |
|
|
TOTALCACHENGINX |
|
|
TOTALCACHENGINX |
|
|
|
|
|
|
|
@ -1194,6 +1195,11 @@ then |
|
|
elif [ "$4" = "wpsc" ] |
|
|
elif [ "$4" = "wpsc" ] |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
|
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
NGINXCONF=$3/wpsc.conf |
|
|
|
|
|
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" |
|
|
|
|
|
|
|
|
# Setup WP Super Cahe Nginx |
|
|
# Setup WP Super Cahe Nginx |
|
|
SUPERCACHENGINX |
|
|
SUPERCACHENGINX |
|
|
|
|
|
|
|
@ -1204,6 +1210,11 @@ then |
|
|
elif [ "$4" = "wpfc" ] |
|
|
elif [ "$4" = "wpfc" ] |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
|
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
NGINXCONF=$3/wpfc.conf |
|
|
|
|
|
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" |
|
|
|
|
|
|
|
|
# Setup WP Super Cahe Nginx |
|
|
# Setup WP Super Cahe Nginx |
|
|
FASTCGINGINX |
|
|
FASTCGINGINX |
|
|
|
|
|
|
|
@ -1219,6 +1230,11 @@ then |
|
|
if [ "$4" = "basic" ] |
|
|
if [ "$4" = "basic" ] |
|
|
then |
|
|
then |
|
|
|
|
|
|
|
|
|
|
|
# Congigure Variable |
|
|
|
|
|
SITENAMECHECK=$5 |
|
|
|
|
|
NGINXCONF=$3/basic.conf |
|
|
|
|
|
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF" |
|
|
|
|
|
|
|
|
# Setup Basic Nginx |
|
|
# Setup Basic Nginx |
|
|
BASICNGINX |
|
|
BASICNGINX |
|
|
|
|
|
|
|
|