diff --git a/scripts/change_url b/scripts/change_url index 2bbcf8d..6d19d3f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -105,7 +105,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 domain=$new_domain path_url=$new_path -ynh_replace_string --match_string="\$CFG->wwwroot = '.*';" --replace_string="\$CFG->wwwroot = 'https://${domain}${path_url%/}';" --target_file="$final_path/config.php" +ynh_replace_string --match_string="wwwroot = '.*';" --replace_string="wwwroot = 'https://${domain}${path_url%/}';" --target_file="$final_path/config.php" #================================================= # END OF SCRIPT