virtualhost -> domain
This commit is contained in:
parent
7a9423631e
commit
2feb3af39d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user