1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Update scripts/change_url

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
eric_G 2024-04-15 22:28:57 +02:00 committed by GitHub
parent c12b940bef
commit c15abd6e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Reconfiguring Matomo..." --weight=2
# See https://matomo.org/faq/how-to-install/faq_18/
ynh_replace_string --match_string="trusted_hosts[] = \"$old_domain\"" --replace_string="trusted_hosts[] = \"$new_domain\"" --target_file="$install_dir/config/config.ini.php"
ynh_replace_string --match_string="$old_domain" --replace_string="$new_domain" --target_file="$install_dir/config/config.ini.php"
#=================================================
# SETUP A CRON