presento/public/admin/redirect.php

6 lines
96 B
PHP
Raw Normal View History

2021-01-27 20:23:49 +01:00
<?php
if ($_SESSION["admin"] !== true) {
header("Location: /admin/login.php");
die();
}