From 89f8c33e5a87e3c6c8d814493dfdab761c24cc46 Mon Sep 17 00:00:00 2001 From: "Justin J. Novack" Date: Mon, 17 Sep 2012 21:30:43 -0400 Subject: FIX: Set REQUEST_URI to go back to page requested before logging in --- www/www-security.php | 1 + 1 file changed, 1 insertion(+) 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'; ?> -- cgit v1.2.3