From bf207b546f679bb739a3ca4812fa01a18f560a54 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 11 Feb 2019 20:23:18 +0100 Subject: [PATCH] Fix change_url --- scripts/change_url | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 31c0ee5..5912915 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -97,6 +97,10 @@ fi # ... #================================================= +application_file="$final_path/app/data/_data_/_default_/configs/application.ini" +ynh_replace_string "default_domain = .^" "default_domain = \"$new_domain\"" "$application_file" +ynh_replace_string "$old_domain$old_path" "$new_domain$new_path" "$final_path/index.php" + #================================================= # GENERIC FINALISATION #=================================================