diff options
Diffstat (limited to '')
-rw-r--r-- | app/class/framework.class.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/framework.class.php b/app/class/framework.class.php index 11902d0..151ca8e 100644 --- a/app/class/framework.class.php +++ b/app/class/framework.class.php @@ -27,6 +27,14 @@ abstract class Framework } /* + * Get the absolute path to the current page + */ + function ap() + { + return $this->ar() . $_REQUEST['path']; + } + + /* * Redirect to the given URL and die */ function redirectTo($url) |