From ffac0774d737329957f0ee0d32b3d62a526f9227 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 18 Aug 2021 15:16:31 +0200 Subject: [PATCH] Update change_url --- scripts/change_url | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/change_url b/scripts/change_url index fd0a7bc..8fd855b 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -101,6 +101,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 domain=${new_domain%/} path=${new_path%/} dir="__DIR__" + # if [ "$new_path" == "/" ]; then # ynh_replace_string --match_string="\$CFG->wwwroot = .*" --replace_string="\$CFG->wwwroot = \'https:\/\/${new_domain%\/}\';" --target_file="$final_path/config.php" # else