git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47341de
)
FIX: Set REQUEST_URI to go back to page requested before logging in
author
Justin J. Novack
<jnovack@gmail.com>
Tue, 18 Sep 2012 01:30:43 +0000
(21:30 -0400)
committer
Justin J. Novack
<jnovack@gmail.com>
Tue, 18 Sep 2012 01:30:43 +0000
(21:30 -0400)
www/www-security.php
patch
|
blob
|
history
diff --git
a/www/www-security.php
b/www/www-security.php
index 47e9a9eff591b6e137acd20a7a33918b1a8802a7..2f5f30b9dac7f6f0ef69b7f7c17cdbb3b0dcfdb6 100644
(file)
--- 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
// 1 / 2 / true = return
// 1 / 2 / false = block
+$_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
require 'forbidden.php';
?>
require 'forbidden.php';
?>