aboutsummaryrefslogtreecommitdiff
path: root/www/secure.php
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-09-16 11:53:48 -0400
committerJustin J. Novack <jnovack@gmail.com>2012-09-16 11:53:48 -0400
commitfbaebb7485cfab4948b8fe000ef2a5279b376f04 (patch)
tree9ffcb4ff6e33f68399827cacb52d32061b4bf62c /www/secure.php
parent5119a5d74428296166658ff746010b8c32abd67f (diff)
downloadphorkie-fbaebb7485cfab4948b8fe000ef2a5279b376f04.tar.gz
phorkie-fbaebb7485cfab4948b8fe000ef2a5279b376f04.zip
FIX: add exit() after header('Location')
Diffstat (limited to 'www/secure.php')
-rw-r--r--www/secure.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/secure.php b/www/secure.php
index 5893033..07cdfb6 100644
--- a/www/secure.php
+++ b/www/secure.php
@@ -7,5 +7,6 @@ require_once 'www-header.php';
$_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
if (!isset($_SESSION['identity'])) {
header("Location: /login");
+ exit;
}
?>