FIX: Set REQUEST_URI to go back to page requested before logging in
authorJustin J. Novack <jnovack@gmail.com>
Tue, 18 Sep 2012 01:30:43 +0000 (21:30 -0400)
committerJustin J. Novack <jnovack@gmail.com>
Tue, 18 Sep 2012 01:30:43 +0000 (21:30 -0400)
www/www-security.php

index 47e9a9eff591b6e137acd20a7a33918b1a8802a7..2f5f30b9dac7f6f0ef69b7f7c17cdbb3b0dcfdb6 100644 (file)
@@ -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';
 ?>