11 lines
145 B
PHP
11 lines
145 B
PHP
<?php
|
|
session_start();
|
|
|
|
if (isset($_SESSION['user'])) {
|
|
header('Location: dashboard.php');
|
|
exit;
|
|
}
|
|
header('Location: login.php');
|
|
exit;
|
|
|