summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
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());
+ }
}