first commit
This commit is contained in:
9
admin/index.php
Normal file
9
admin/index.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
require_once __DIR__.'/../includes/auth.php';
|
||||
|
||||
if (isLoggedIn()) {
|
||||
header("Location: admin.php");
|
||||
} else {
|
||||
header("Location: login.php");
|
||||
}
|
||||
exit;
|
||||
Reference in New Issue
Block a user