9 lines
141 B
PHP
9 lines
141 B
PHP
<?php
|
|
|
|
session_start();
|
|
|
|
if (isset($_SESSION["userID"])) {
|
|
header("Location: profile.php");
|
|
} else {
|
|
header("Location: login.php");
|
|
} |