From c122a33b05d9cd0f93cde407cbd2b3318de04a8a Mon Sep 17 00:00:00 2001 From: "Pierce, Eric" Date: Mon, 27 Apr 2020 17:06:12 -0500 Subject: [PATCH] fixing problem with SELF_URL_PATH parameter updates in TT-RSS --- root/srv/setup-ttrss.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/srv/setup-ttrss.sh b/root/srv/setup-ttrss.sh index 697cd7c..12d8b4d 100755 --- a/root/srv/setup-ttrss.sh +++ b/root/srv/setup-ttrss.sh @@ -114,7 +114,7 @@ setup_ttrss() fi # Patch URL path. - sed -i -e 's@htt.*/@'"${TTRSS_SELF_URL}"'@g' ${TTRSS_PATH}/config.php + sed -i -e "s@define('SELF_URL_PATH'.*@define('SELF_URL_PATH', '$TTRSS_SELF_URL');@g" config.php # Check if single user mode is selected if [ "$TTRSS_SINGLEUSER" = true ]; then