security fix / thanks to Christopher Tarquini

This commit is contained in:
Serghey Rodin 2017-11-21 17:58:16 +02:00
commit 757e065602
636 changed files with 680 additions and 637 deletions

View file

@ -61,7 +61,7 @@ fi
for domain in $($BIN/v-list-web-domains $user plain |cut -f 1); do
if [ ! -z "$WEB_BACKEND" ]; then
template=$(get_object_value 'web' 'DOMAIN' "$domain" '$BACKEND')
$BIN/v-add-web-domain-backend $user $domain $template
$BIN/v-add-web-domain-backend $user $domain $template $restart
fi
rebuild_web_domain_conf
done