summaryrefslogtreecommitdiff
path: root/modules/atom/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'modules/atom/libraries')
-rw-r--r--modules/atom/libraries/Gallery_Atom_Entry.php4
-rw-r--r--modules/atom/libraries/Gallery_Atom_Feed.php4
-rw-r--r--modules/atom/libraries/Gallery_Atom_Link.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/atom/libraries/Gallery_Atom_Entry.php b/modules/atom/libraries/Gallery_Atom_Entry.php
index 57785fd7..e7d0ea8b 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(atom::get_absolute_url()));
+ $this->id(html::specialchars(url::get_absolute_url()));
$this->link()
->rel("self")
- ->href(atom::get_absolute_url());
+ ->href(url::get_absolute_url());
}
public function link() {
diff --git a/modules/atom/libraries/Gallery_Atom_Feed.php b/modules/atom/libraries/Gallery_Atom_Feed.php
index ff908682..61fba5b4 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(atom::get_absolute_url()));
+ $this->id(html::specialchars(url::get_absolute_url()));
$this->link()
->rel("self")
- ->href(atom::get_absolute_url());
+ ->href(url::get_absolute_url());
}
public function link() {
diff --git a/modules/atom/libraries/Gallery_Atom_Link.php b/modules/atom/libraries/Gallery_Atom_Link.php
index abcd3bc9..07e3e891 100644
--- a/modules/atom/libraries/Gallery_Atom_Link.php
+++ b/modules/atom/libraries/Gallery_Atom_Link.php
@@ -27,7 +27,7 @@ class Gallery_Atom_Link_Core extends Atom_Link {
$this->rel("related")
->type(rest::ATOM)
->title($title)
- ->href(sprintf("%s%s", atom::get_base_url(), $relative_uri));
+ ->href(sprintf("%s%s", url::base(true, "http"), $relative_uri));
return $this;
}
@@ -39,7 +39,7 @@ class Gallery_Atom_Link_Core extends Atom_Link {
$this->rel("related")
->type("image/" . $image_type)
->title($title)
- ->href(sprintf("%s%s", atom::get_base_url(), $relative_uri));
+ ->href(sprintf("%s%s", url::base(true, "http"), $relative_uri));
return $this;
}
}