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 47e9a9e..2f5f30b 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';
 ?>