Automatically provision primary domain, closes #39

This commit is contained in:
pierreozoux 2015-03-02 10:35:05 +00:00
parent 674634f839
commit edaa552fb5

View file

@ -73,7 +73,8 @@ then
if [ -z ${SITE_URL+x} ]
then
SITE_URL="http://${URL}"
PRIMARY_DOMAIN=`echo $URL | cut -d. -f2,3`
SITE_URL="http://${PRIMARY_DOMAIN}"
fi
if [ -z ${SITE_TIMEZONE+x} ]