summaryrefslogtreecommitdiff
path: root/modules/atom/libraries/Gallery_Atom_Link.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-25 15:54:45 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-25 15:54:45 +0000
commit102f0f566b930f9c5030df47f198f0e1627ce317 (patch)
tree9ef6a5a24d501af431166113f1a1095a6d33d209 /modules/atom/libraries/Gallery_Atom_Link.php
parent2c20fed373e54bfc67f878a1f5d93d0cd2fc146e (diff)
Normalize atom url generation
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;
}
}