mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
optimized web domain adding (almost 2x faster
This commit is contained in:
parent
1246ded35a
commit
2850492f55
10 changed files with 194 additions and 179 deletions
|
@ -37,7 +37,7 @@ is_object_unsuspended 'user' 'USER' "$user"
|
|||
case $type in
|
||||
WEB) is_web_template_valid;
|
||||
update_user_value "$user" '$WEB_TEMPLATE' "$template";;
|
||||
PROXY) is_proxy_template_valid;
|
||||
PROXY) is_proxy_template_valid $template;
|
||||
update_user_value "$user" '$PROXY_TEMPLATE' "$template";;
|
||||
DNS) is_dns_template_valid;
|
||||
update_user_value "$user" '$DNS_TEMPLATE' "$template";;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue