Installing WordPress to user_domain_com database

This commit is contained in:
myvesta 2023-01-31 23:34:10 +01:00 committed by GitHub
commit 0e9a5304a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ is_object_unsuspended 'user' 'USER' "$user"
source /usr/local/vesta/func/handle_parameters.sh
if [ -z "$database" ]; then
database="wp"
database=$(echo "$domain" | sed 's#\.#_#g')
fi
if [ -z "$email" ]; then