summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/atom/libraries/Gallery_Atom_Entry.php4
-rw-r--r--modules/atom/libraries/Gallery_Atom_Feed.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/atom/libraries/Gallery_Atom_Entry.php b/modules/atom/libraries/Gallery_Atom_Entry.php
index e7d0ea8b..ee5abd07 100644
--- a/modules/atom/libraries/Gallery_Atom_Entry.php
+++ b/modules/atom/libraries/Gallery_Atom_Entry.php
@@ -27,10 +27,10 @@ class Gallery_Atom_Entry_Core extends Atom_Entry {
parent::__construct("entry");
/* Set feed ID and self link. */
- $this->id(html::specialchars(url::get_absolute_url()));
+ $this->id(html::specialchars(url::abs_current()));
$this->link()
->rel("self")
- ->href(url::get_absolute_url());
+ ->href(url::abs_current());
}
public function link() {
diff --git a/modules/atom/libraries/Gallery_Atom_Feed.php b/modules/atom/libraries/Gallery_Atom_Feed.php
index 61fba5b4..ba44f15a 100644
--- a/modules/atom/libraries/Gallery_Atom_Feed.php
+++ b/modules/atom/libraries/Gallery_Atom_Feed.php
@@ -27,10 +27,10 @@ class Gallery_Atom_Feed_Core extends Atom_Feed {
parent::__construct("feed");
/* Set feed ID and self link. */
- $this->id(html::specialchars(url::get_absolute_url()));
+ $this->id(html::specialchars(url::abs_current()));
$this->link()
->rel("self")
- ->href(url::get_absolute_url());
+ ->href(url::abs_current());
}
public function link() {