From 5f0adaf0f637159e8b22ffa698d75304d1235d5a Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 02:49:38 +0000 Subject: [PATCH] Update 2 files - /html/upload.php - /html/admin.php --- html/admin.php | 1 + html/upload.php | 1 + 2 files changed, 2 insertions(+) diff --git a/html/admin.php b/html/admin.php index 4887f5ae..f6ab649c 100644 --- a/html/admin.php +++ b/html/admin.php @@ -3,6 +3,7 @@ require "../include/variables.php"; require "../include/functions.php"; if(isset($_SESSION['userid']) == false) { + header("Location: login.php"); http_response_code(404); die(); } diff --git a/html/upload.php b/html/upload.php index 2347a75b..46ef0921 100644 --- a/html/upload.php +++ b/html/upload.php @@ -3,6 +3,7 @@ require "../include/variables.php"; require "../include/functions.php"; if(isset($_SESSION['userid']) == false) { + header("Location: login.php"); http_response_code(404); die(); }