Skip to content

Commit

Permalink
Merge pull request #45 from ionathanch/patch-1
Browse files Browse the repository at this point in the history
Update ttrss-configure-db.php
  • Loading branch information
x86dev committed Feb 23, 2021
2 parents 5b6dadf + 0c0c2b5 commit b607371
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions root/srv/ttrss-configure-db.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit b607371

Please sign in to comment.