diff --git a/scripts/change_url b/scripts/change_url index 05d8e7d..f9d0673 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -63,7 +63,7 @@ then # Set global variables for nginx helper domain="$old_domain" path_url="$new_path" -if [ "$new_path" == "/"] +if [ "$new_path" == "/" ] then ynh_replace_string --match_string="const WWW_URI = '$old_path/';" --replace_string="const WWW_URI = '$new_path';" --target_file="$final_path/config.local.php" else