From 975efd3f2578a6a0551085feff05fc0e4c891e30 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Fri, 14 Jan 2022 10:08:11 +0100 Subject: [PATCH] Refactor --- includes/classes/page.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/classes/page.php b/includes/classes/page.php index d327e03e..09fbe8e7 100644 --- a/includes/classes/page.php +++ b/includes/classes/page.php @@ -27,6 +27,7 @@ class Page */ if (!isset($_SESSION['user']) && isset($_GET['page']) && 'login' !== $_GET['page']) { header('Location: /?page=login'); + die(); } }