diff options
author | wn_ <[email protected]> | 2022-11-28 17:40:42 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2022-11-28 17:40:42 +0000 |
commit | a355221e7f650b151fe866174152d686c1c2d146 (patch) | |
tree | c72fb6a3261681ec854a61340338fc01b44fdfe0 /classes/digest.php | |
parent | 94c49399cc10c1f7001e8c76db7575b70e1fc674 (diff) |
Consistently get the self URL.
This ensures all uses of the self URL get the same normalized/sanitized value.
Diffstat (limited to 'classes/digest.php')
-rw-r--r-- | classes/digest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/digest.php b/classes/digest.php index a5dbc0945..b19c37c5f 100644 --- a/classes/digest.php +++ b/classes/digest.php @@ -98,11 +98,11 @@ class Digest $tpl->setVariable('CUR_DATE', date('Y/m/d', $local_ts)); $tpl->setVariable('CUR_TIME', date('G:i', $local_ts)); - $tpl->setVariable('TTRSS_HOST', Config::get(Config::SELF_URL_PATH)); + $tpl->setVariable('TTRSS_HOST', Config::get_self_url()); $tpl_t->setVariable('CUR_DATE', date('Y/m/d', $local_ts)); $tpl_t->setVariable('CUR_TIME', date('G:i', $local_ts)); - $tpl_t->setVariable('TTRSS_HOST', Config::get(Config::SELF_URL_PATH)); + $tpl_t->setVariable('TTRSS_HOST', Config::get_self_url()); $affected_ids = array(); |