From 0c0c2b5772861b41d3524caa8157b914a41dea33 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Tue, 29 Dec 2020 01:37:29 -0800 Subject: [PATCH] Update ttrss-configure-db.php --- root/srv/ttrss-configure-db.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/root/srv/ttrss-configure-db.php b/root/srv/ttrss-configure-db.php index 39d6b05..73895c7 100644 --- a/root/srv/ttrss-configure-db.php +++ b/root/srv/ttrss-configure-db.php @@ -3,8 +3,7 @@ include '/srv/ttrss-utils.php'; -if (!env('TTRSS_PATH', '')) - $confpath = '/var/www/ttrss/'; +$confpath = env('TTRSS_PATH', '/var/www/ttrss/'); $conffile = $confpath . 'config.php'; $ename = 'DB';