aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/page/elements/head.php2
-rw-r--r--views/rss/page/default.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php
index 1eb2be088..d4a95b4d0 100644
--- a/views/default/page/elements/head.php
+++ b/views/default/page/elements/head.php
@@ -14,7 +14,7 @@ if (empty($vars['title'])) {
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
- $url = full_url();
+ $url = current_page_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
diff --git a/views/rss/page/default.php b/views/rss/page/default.php
index c973e3fd0..a7b757760 100644
--- a/views/rss/page/default.php
+++ b/views/rss/page/default.php
@@ -17,7 +17,7 @@ if (empty($vars['title'])) {
}
// Remove RSS from URL
-$url = str_replace('?view=rss', '', full_url());
+$url = str_replace('?view=rss', '', current_page_url());
$url = str_replace('&view=rss', '', $url);
$url = htmlspecialchars($url, ENT_NOQUOTES, 'UTF-8');