diff options
author | Sem <sembrestels@riseup.net> | 2012-11-05 10:53:47 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-11-05 10:53:47 +0100 |
commit | 080a5acc3afdaae62da55ff6b970193eca2d6d8d (patch) | |
tree | 0fcd8b8fb38f2eed0d2553020d7ab42e80364815 /views | |
parent | e0bbcb47752c8180381da633d6ddf4703170e0f1 (diff) | |
download | elgg-080a5acc3afdaae62da55ff6b970193eca2d6d8d.tar.gz elgg-080a5acc3afdaae62da55ff6b970193eca2d6d8d.tar.bz2 |
Replaced full_url by current_page_url everywhere.
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page/elements/head.php | 2 | ||||
-rw-r--r-- | views/rss/page/default.php | 2 |
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'); |