From 1ad7d269af682459d99016c979ac6f337a3c3784 Mon Sep 17 00:00:00 2001 From: Ruben Silva Date: Tue, 17 Jan 2017 10:13:42 +0000 Subject: [PATCH] Fixed for previously unset SELF_URL_PATH --- setup-ttrss.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-ttrss.sh b/setup-ttrss.sh index 7a071fa..ebd5100 100755 --- a/setup-ttrss.sh +++ b/setup-ttrss.sh @@ -43,7 +43,7 @@ setup_ttrss() cp ${TTRSS_PATH}/config.php-dist ${TTRSS_PATH}/config.php # Patch URL path. - sed -i -e 's@http://localhost/@'"$SELF_URL_PATH"'@g' ${TTRSS_PATH}/config.php + sed -i -e 's@htt.*/@'"${SELF_URL_PATH-http://localhost/}"'@g' ${TTRSS_PATH}/config.php # Enable additional system plugins: api_newsplus. sed -i -e "s/.*define('PLUGINS'.*/define('PLUGINS', 'api_newsplus, auth_internal, note, updater');/g" ${TTRSS_PATH}/config.php