diff options
| author | Justin J. Novack <jnovack@gmail.com> | 2012-09-17 21:30:43 -0400 |
|---|---|---|
| committer | Justin J. Novack <jnovack@gmail.com> | 2012-09-17 21:30:43 -0400 |
| commit | 89f8c33e5a87e3c6c8d814493dfdab761c24cc46 (patch) | |
| tree | 93b15fdb91f3fbf281e7261d0e39b5e333f9fb10 | |
| parent | 47341ded2eba15c6d109ba166242e6e557080388 (diff) | |
| download | phorkie-89f8c33e5a87e3c6c8d814493dfdab761c24cc46.tar.gz phorkie-89f8c33e5a87e3c6c8d814493dfdab761c24cc46.zip | |
FIX: Set REQUEST_URI to go back to page requested before logging in
| -rw-r--r-- | www/www-security.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/www-security.php b/www/www-security.php index 47e9a9e..2f5f30b 100644 --- a/www/www-security.php +++ b/www/www-security.php @@ -44,5 +44,6 @@ if ($pageRequiresLogin >= $GLOBALS['phorkie']['auth']['secure']) { // 1 / 2 / true = return // 1 / 2 / false = block +$_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI']; require 'forbidden.php'; ?> |
