From f0b633334416ecb86de0356a06932fcf78efbfb7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 21 Dec 2008 03:50:11 +0000 Subject: Add a logging facility, and instrument login/logout to use it. --- core/helpers/MY_url.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'core/helpers/MY_url.php') 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)); } } -- cgit v1.2.3