Store redirect login url in session instead of using url parameter

This commit is contained in:
Frederic Guillot
2015-07-16 22:22:33 -04:00
parent e0d4877126
commit 493c7c2c74
6 changed files with 20 additions and 9 deletions

View File

@@ -162,6 +162,17 @@ class Request
return isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '';
}
/**
* Returns uri
*
* @access public
* @return string
*/
public function getUri()
{
return isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
}
/**
* Get the user agent
*