itskp-odense/Backend/controller/accessControl.php

7 lines
116 B
PHP

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