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(); } }