diff --git a/src/UrlRequest.php b/src/UrlRequest.php index 5dc0cc1..765f0d3 100644 --- a/src/UrlRequest.php +++ b/src/UrlRequest.php @@ -78,6 +78,12 @@ class UrlRequest { return $this -> current_url; if ($key == 'current_full_url') return Url::add_url_parameters($this -> current_url, $_GET, false); + if ($key == 'current_absolute_url') + return Url::get_absolute_url($this -> current_url); + if ($key == 'current_absolute_full_url') + return Url::get_absolute_url( + Url::add_url_parameters($this -> current_url, $_GET, false) + ); if ($key == 'handler') return $this -> handler; if ($key == 'authenticated')