presento/public/admin/redirect.php

6 lines
96 B
PHP
Raw Normal View History

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