Update file upload.php

This commit is contained in:
Jan BELLON 2024-03-11 22:56:48 +00:00
parent 57084ac876
commit 8cbee9dff4

View File

@ -2,7 +2,7 @@
require "../include/variables.php";
require "../include/functions.php";
if($_SESSION['role'] < 3) {
if($_SESSION['role'] < 1) {
header("Location: login.php");
http_response_code(404);
die();