9 lines
151 B
PHP
9 lines
151 B
PHP
<?php
|
|
session_start();
|
|
if (isset($_SESSION['token'])) {
|
|
header('Location: app/dashboard.php');
|
|
} else {
|
|
header('Location: app/login.php');
|
|
}
|
|
exit;
|