From 102f0f566b930f9c5030df47f198f0e1627ce317 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 25 Nov 2008 15:54:45 +0000 Subject: Normalize atom url generation --- core/helpers/MY_url.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/helpers') diff --git a/core/helpers/MY_url.php b/core/helpers/MY_url.php index a7746ff0..5095c701 100644 --- a/core/helpers/MY_url.php +++ b/core/helpers/MY_url.php @@ -32,4 +32,8 @@ class url extends url_Core { public static function abs_site($path) { return url::site($path, "http"); } + + public static function get_absolute_url() { + return self::abs_site(url::current()); + } } -- cgit v1.2.3