Browse Source

Auto Switch the site create options

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

7
usr/local/sbin/easyengine

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

Loading…
Cancel
Save