diff options
-rw-r--r-- | core/helpers/MY_url.php | 2 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Entry.php | 4 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Feed.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/core/helpers/MY_url.php b/core/helpers/MY_url.php index 5095c701..1c40c2bc 100644 --- a/core/helpers/MY_url.php +++ b/core/helpers/MY_url.php @@ -33,7 +33,7 @@ class url extends url_Core { return url::site($path, "http"); } - public static function get_absolute_url() { + public static function abs_current() { return self::abs_site(url::current()); } } 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() { |