diff --git a/conf/.env.example b/conf/.env.example index 938defe..b469a66 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -29,7 +29,7 @@ APP_TIMEZONE=UTC # Database details DB_HOST=localhost DB_DATABASE=__DB_NAME__ -DB_USERNAME=__DB_NAME__ +DB_USERNAME=__DB_USER__ DB_PASSWORD=__DB_PWD__ # Mail system to use diff --git a/scripts/change_url b/scripts/change_url index b708a57..0d05696 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -30,6 +30,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 final_path=$(ynh_app_setting_get --app=$app --key=final_path) language=$(ynh_app_setting_get --app=$app --key=language) db_name=$(ynh_app_setting_get --app=$app --key=db_name) +db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) diff --git a/scripts/install b/scripts/install index 1a7a80d..fc47db6 100644 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=language --value=$language -ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion #================================================= # INSTALL DEPENDENCIES