presento/public/admin/redirect.php
2021-01-27 20:23:49 +01:00

6 lines
96 B
PHP
Executable File

<?php
if ($_SESSION["admin"] !== true) {
header("Location: /admin/login.php");
die();
}