summaryrefslogtreecommitdiff
path: root/core/helpers/MY_url.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-21 03:50:11 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-21 03:50:11 +0000
commitf0b633334416ecb86de0356a06932fcf78efbfb7 (patch)
tree2adb3e18cd09d04cd63f3be65c4e12ef26aa49ff /core/helpers/MY_url.php
parenta19a4729b55ac72d487def1bc5da9f427c084ba9 (diff)
Add a logging facility, and instrument login/logout to use it.
Diffstat (limited to 'core/helpers/MY_url.php')
-rw-r--r--core/helpers/MY_url.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/helpers/MY_url.php b/core/helpers/MY_url.php
index 1c40c2bc..12c51f8d 100644
--- a/core/helpers/MY_url.php
+++ b/core/helpers/MY_url.php
@@ -33,7 +33,10 @@ class url extends url_Core {
return url::site($path, "http");
}
- public static function abs_current() {
- return self::abs_site(url::current());
+ /**
+ * Just like url::current except that it returns an absolute URI
+ */
+ public static function abs_current($qs=false) {
+ return self::abs_site(url::current($qs));
}
}