summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-12-02 07:35:11 +0300
committerAndrew Dolgov <[email protected]>2022-12-02 07:35:11 +0300
commitfa9c614ff144153ca1f4c0744fe0bc7d8f3a82ad (patch)
tree1666d5cd573f1e4c96d8a8e5b43ea07a6e5eb775 /classes/pref/prefs.php
parent824addbc9d3f7bb4c1c94c5b795f9c8ae3211870 (diff)
parent292ca86665d13582028d32d6d40bbb6f4d8f5cc1 (diff)
Merge branch 'master' of git.tt-rss.org:tt-rss/tt-rss
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 0c1b90213..1e02a0508 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -251,7 +251,7 @@ class Pref_Prefs extends Handler_Protected {
$tpl->setVariable('LOGIN', $user->login);
$tpl->setVariable('NEWMAIL', $new_email);
- $tpl->setVariable('TTRSS_HOST', Config::get(Config::SELF_URL_PATH));
+ $tpl->setVariable('TTRSS_HOST', Config::get_self_url());
$tpl->addBlock('message');
@@ -1002,7 +1002,7 @@ class Pref_Prefs extends Handler_Protected {
$tpl->readTemplateFromFile("otp_disabled_template.txt");
$tpl->setVariable('LOGIN', $row["login"]);
- $tpl->setVariable('TTRSS_HOST', Config::get(Config::SELF_URL_PATH));
+ $tpl->setVariable('TTRSS_HOST', Config::get_self_url());
$tpl->addBlock('message');