This commit is contained in:
Bob Mottram 2016-03-23 15:51:17 +00:00
parent 10c2e13c61
commit a16c4f843b
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ HOSTNAME=
AVATAR=
# get the blog hostname
if grep -q "MICROBLOG_DOMAIN_NAME" $CONFIGURATION_FILE; then
HOSTNAME=$(grep "MICROBLOG_DOMAIN_NAME" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
if grep -q "FULLBLOG_DOMAIN_NAME" $CONFIGURATION_FILE; then
HOSTNAME=$(grep "FULLBLOG_DOMAIN_NAME" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
fi
BASE_DIR=/var/www/$HOSTNAME/htdocs