8 lines
148 B
PHP
8 lines
148 B
PHP
<?php
|
|
session_start();
|
|
|
|
if (!isset($_SESSION["authenticated"]) || $_SESSION["authenticated"] !== true ) {
|
|
header("Location: /login.php");
|
|
exit;
|
|
}
|