Locket system behind session variable

Created php script to redirect back to index.html if system is not
unlocked
This commit is contained in:
sraffauf
2026-01-22 17:14:47 +01:00
parent e28948372b
commit e2261ff0dd

10
php/ticket_lock.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
session_start();
if (!isset($_SESSION['unlocked'])) {
header("Location: ../index.html");
exit;
} else {
header("Location: ../pages/ticket_submit.html");
exit;
}
?>