Browse Source

Auto Switch the site create options

old-stable
Mitesh Shah 11 years ago
parent
commit
dda9560714
  1. 11
      usr/local/sbin/easyengine

11
usr/local/sbin/easyengine

@ -1870,10 +1870,17 @@ then
EESITECREATE=--html
fi
# Auto Switch The Options
if [ "$EESITECREATE" = "--basic" ] || [ "$EESITECREATE" = "--w3tc" ] || [ "$EESITECREATE" = "--wpsc" ] || [ "$EESITECREATE" = "--wpfc" ]
then
EESITECREATE=--wp
WPCACHEOPTION=$4
if [ "$WPCACHEOPTION" = "--wpsubdir" ] || [ "$WPCACHEOPTION" = "--wpsubdirectory" ] || [ "$WPCACHEOPTION" = "--wpsubdom" ] || [ "$WPCACHEOPTION" = "--wpsubdomain" ]
then
EESITECREATE=$5
WPCACHEOPTION=$4
else
EESITECREATE=--wp
WPCACHEOPTION=$4
fi
fi
# If No Cache Specified Use --basic As Default

Loading…
Cancel
Save