mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
wildcard support in new domain verification
This commit is contained in:
parent
f0cae5aa4a
commit
f5dcd88fef
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ is_domain_new() {
|
||||||
type="$1"
|
type="$1"
|
||||||
dom=${2-$domain}
|
dom=${2-$domain}
|
||||||
|
|
||||||
web=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/web.conf)
|
web=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/web.conf)
|
||||||
dns=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/dns.conf)
|
dns=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/dns.conf)
|
||||||
mail=$(grep -H "DOMAIN='$dom'" $VESTA/data/users/*/mail.conf)
|
mail=$(grep -F -H "DOMAIN='$dom'" $VESTA/data/users/*/mail.conf)
|
||||||
|
|
||||||
# Check web domain
|
# Check web domain
|
||||||
if [ ! -z "$web" ] && [ "$type" == 'web' ]; then
|
if [ ! -z "$web" ] && [ "$type" == 'web' ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue