diff --git a/scripts/change_url b/scripts/change_url index c9cbd8e..4e646f8 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -26,7 +26,7 @@ ynh_change_url_nginx_config ynh_script_progression --message="Reconfiguring Matomo..." --weight=2 # See https://matomo.org/faq/how-to-install/faq_18/ -ynh_replace_string --match_string="trusted_hosts[] = \"$old_domain\"" --replace_string="trusted_hosts[] = \"$new_domain\"" --target_file="$install_dir/config/config.ini.php" +ynh_replace_string --match_string="$old_domain" --replace_string="$new_domain" --target_file="$install_dir/config/config.ini.php" #================================================= # SETUP A CRON