diff --git a/scripts/change_url b/scripts/change_url index 1060093..8cc24b6 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -101,7 +101,7 @@ fi ynh_script_progression --message="Updating a configuration file..." --weight=1 domain=${new_domain%/} -path_url=${new_path%/} +path=${new_path%/} # ynh_replace_string --match_string="\$CFG->wwwroot = .*" --replace_string="\$CFG->wwwroot = 'https://' . '$new_domain' . '${new_path%/}';" --target_file="$final_path/config.php" # chmod 750 "$final_path"