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';