Browse Source

Fix SITENAMECHECK NGINXCONF Variables

old-stable
Mitesh Shah 12 years ago
parent
commit
228d77c225
  1. 34
      usr/local/sbin/easyengine

34
usr/local/sbin/easyengine

@ -556,11 +556,9 @@ EEPERMISSION()
BASICNGINX()
{
# Check SITENAME Is Empty Or Not
SITENAMECHECK=$5
EESITENAME
# Creating Website $DOMAIN
NGINXCONF=$3/basic.conf
EEDOMAINSETUP
# Setup WordPress Webroot & Database
@ -577,11 +575,9 @@ BASICNGINX()
TOTALCACHENGINX()
{
# Check SITENAME Is Empty Or Not
SITENAMECHECK=$5
EESITENAME
# Creating Website $DOMAIN
NGINXCONF=$3/w3tc.conf
EEDOMAINSETUP
# Setup WordPress Webroot & Database
@ -613,11 +609,9 @@ TOTALCACHENGINX()
SUPERCACHENGINX()
{
# Check SITENAME Is Empty Or Not
SITENAMECHECK=$5
EESITENAME
# Creating Website $DOMAIN
NGINXCONF=$3/wpsc.conf
EEDOMAINSETUP
# Setup WordPress Webroot & Database
@ -649,11 +643,9 @@ SUPERCACHENGINX()
FASTCGINGINX()
{
# Check SITENAME Is Empty Or Not
SITENAMECHECK=$5
EESITENAME
# Creating Website $DOMAIN
NGINXCONF=$3/wpfc.conf
EEDOMAINSETUP
# 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 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"
}
# Easy Engine System Settings
@ -1174,6 +1165,11 @@ then
if [ "$4" = "basic" ]
then
# Congigure Variable
SITENAMECHECK=$5
NGINXCONF=$3/basic.conf
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF"
# Setup Basic Nginx
BASICNGINX
@ -1184,6 +1180,11 @@ then
elif [ "$4" = "w3tc" ]
then
# Congigure Variable
SITENAMECHECK=$5
NGINXCONF=$3/w3tc.conf
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF"
# Setup W3 Total Cahe Nginx
TOTALCACHENGINX
@ -1194,6 +1195,11 @@ then
elif [ "$4" = "wpsc" ]
then
# Congigure Variable
SITENAMECHECK=$5
NGINXCONF=$3/wpsc.conf
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF"
# Setup WP Super Cahe Nginx
SUPERCACHENGINX
@ -1204,6 +1210,11 @@ then
elif [ "$4" = "wpfc" ]
then
# Congigure Variable
SITENAMECHECK=$5
NGINXCONF=$3/wpfc.conf
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF"
# Setup WP Super Cahe Nginx
FASTCGINGINX
@ -1219,6 +1230,11 @@ then
if [ "$4" = "basic" ]
then
# Congigure Variable
SITENAMECHECK=$5
NGINXCONF=$3/basic.conf
echo "SITENAMECHECK = $SITENAMECHECK AND NGINXCONF = $NGINXCONF"
# Setup Basic Nginx
BASICNGINX

Loading…
Cancel
Save