1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

clean url parameters

This commit is contained in:
Mickael-Martin 2020-12-09 13:41:26 +01:00
parent 32e536c22e
commit 3e1d9d16b3

View file

@ -46,13 +46,10 @@ app="$YNH_APP_INSTANCE_NAME"
final_path=/var/www/zabbix
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax
path_url=$(ynh_normalize_url_path "$path_url")
# Check web path availability
ynh_webpath_available "$domain" "$path_url"
ynh_webpath_available --domain="$domain" --path_url="$path_url"
# Register (book) web path
ynh_webpath_register "$app" "$domain" "$path_url"
ynh_webpath_register --app="$app" --domain="$domain" --path_url="$path_url"
#=================================================
# STORE SETTINGS FROM MANIFEST