From 2feb3af39daffa82c7a3edf8580254b9befd6f86 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 5 Oct 2021 13:52:02 -0700 Subject: [PATCH] virtualhost -> domain --- bin/vhost-mysql-db-add.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vhost-mysql-db-add.sh b/bin/vhost-mysql-db-add.sh index bcdb18a..32a8e50 100755 --- a/bin/vhost-mysql-db-add.sh +++ b/bin/vhost-mysql-db-add.sh @@ -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