itskp-odense/Backend/controller/accessControl.php

7 lines
125 B
PHP

<?php
session_start();
if (!isset($_SESSION['token'])) {
header("location: ../Frontend/index.php?login=notloggedin");
}