1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

[fix] path_url instead of path

This commit is contained in:
ljf 2019-06-18 10:09:39 +02:00
parent 372174575c
commit 37195bb9fc
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ ynh_abort_if_errors
# RETRIEVE ARGUMENTS FROM THE MANIFEST
#=================================================
ynh_export domain path admin is_public
ynh_export domain path_url admin is_public
# This is a multi-instance app, meaning it can be installed several times independently
# The id of the app as stated in the manifest is available as $YNH_APP_ID
@ -60,7 +60,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#=================================================
ynh_script_progression --message="Storing installation settings..." --time --weight=1
ynh_save_args domain path admin is_public final_path
ynh_save_args domain path_url admin is_public final_path
#=================================================
# STANDARD MODIFICATIONS
@ -87,7 +87,7 @@ ynh_script_progression --message="Creating a PostgreSQL database..." --time --we
ynh_psql_test_if_first_run
db_name=$(ynh_sanitize_dbid --dbname="$app")
db_name=$(ynh_sanitize_dbid --db_name="$app")
db_user=$db_name
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name