summaryrefslogtreecommitdiff
path: root/core/helpers
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 /core/helpers
parent2c20fed373e54bfc67f878a1f5d93d0cd2fc146e (diff)
Normalize atom url generation
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/MY_url.php4
1 files changed, 4 insertions, 0 deletions
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());
+ }
}