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
(from parent 1:
ffa9d51
)
CLEAN: use fullUrl when possible
author
Justin J. Novack
<jnovack@gmail.com>
Tue, 18 Sep 2012 14:10:19 +0000
(10:10 -0400)
committer
Justin J. Novack
<jnovack@gmail.com>
Tue, 18 Sep 2012 14:10:19 +0000
(10:10 -0400)
www/secure.php
patch
|
blob
|
history
diff --git
a/www/secure.php
b/www/secure.php
index e61408701f6be5be3496eddde69c76f4aaeb5281..95066141445d3a6d15844837b5062c9c40533a50 100644
(file)
--- a/
www/secure.php
+++ b/
www/secure.php
@@
-6,7
+6,7
@@
namespace phorkie;
require_once 'www-header.php';
$_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
if (!isset($_SESSION['identity'])) {
- header("Location:
/login"
);
+ header("Location:
" . Tools::fullUrl('/login')
);
exit;
}
if ($GLOBALS['phorkie']['auth']['secure'] > 0 &&