1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

Add change url

This commit is contained in:
Plumf 2020-05-06 13:40:31 +02:00
parent 8b24c70b86
commit 6e08353cb1
2 changed files with 6 additions and 4 deletions

View file

@ -28,7 +28,7 @@
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=1 (66) port_already_use=1 (66)
change_url=0 change_url=1
actions=0 actions=0
config_panel=0 config_panel=0
;;; Levels ;;; Levels

View file

@ -104,6 +104,8 @@ fi
# ... # ...
#================================================= #=================================================
ynh_replace_string --match_string="https://$old_domain${old_path%/}" --replace_string="https://$new_domain${new_path%/}" --target_file="$final_path/wakka.config.php"
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION
#================================================= #=================================================