virtualhost -> domain

This commit is contained in:
Matthew Saunders Brown 2021-10-05 13:52:02 -07:00
parent 7a9423631e
commit 2feb3af39d

View File

@ -44,7 +44,7 @@ if [[ ! -d /srv/www/$domain ]]; then
fi
# set database name
database=${virtualhost//./dot}
database=${domain//./dot}
database=${database//-/dash}
# make sure database doesn't already exist