From 7adefd1ff0826ffb97baae311cbb3c009e4196fc Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 18 Sep 2014 15:43:48 +0100 Subject: [PATCH] die() after header to stop going any further --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 824c474..00df71e 100644 --- a/index.php +++ b/index.php @@ -6,6 +6,7 @@ $t = $text['index']; // Check IP permissions if (!in_array($_SERVER["REMOTE_ADDR"], $_SESSION['allowedIPs']) && !in_array("*", $_SESSION['allowedIPs'])) { header('Location: /'); + die("Sorry, not in allowed IPs list"); }; $updateMsg = '';