Initial commit
This commit is contained in:
6
public/admin/redirect.php
Executable file
6
public/admin/redirect.php
Executable file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
if ($_SESSION["admin"] !== true) {
|
||||
header("Location: /admin/login.php");
|
||||
die();
|
||||
}
|
||||
Reference in New Issue
Block a user