diff --git a/scripts/change_url b/scripts/change_url index 0d89903..3d3d129 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -67,6 +67,7 @@ then ynh_add_nginx_config fi +# change the config.local.conf if [ $change_path -eq 1 ] && [ "$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"