FIX: add exit() after header('Location')
[phorkie.git] / www / secure.php
index 5893033574309b842d7286a5674cde0b4dbce604..07cdfb64051768364542a802e85de9a7546cafe8 100644 (file)
@@ -7,5 +7,6 @@ require_once 'www-header.php';
 $_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
 if (!isset($_SESSION['identity'])) {
     header("Location: /login");
+    exit;
 }
 ?>