Initial setup, not working yet
This commit is contained in:
11
frontend/index.php
Normal file
11
frontend/index.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$token = $_COOKIE["token"] ?? null;
|
||||
|
||||
if ($token) {
|
||||
header("Location: items.php");
|
||||
} else {
|
||||
header("Location: login.php");
|
||||
}
|
||||
|
||||
exit;
|
||||
Reference in New Issue
Block a user