summaryrefslogtreecommitdiff
path: root/modules/atom/libraries/Gallery_Atom_Link.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/atom/libraries/Gallery_Atom_Link.php')
-rw-r--r--modules/atom/libraries/Gallery_Atom_Link.php4
1 files changed, 2 insertions, 2 deletions
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;
}
}