Update index.php

This commit is contained in:
Nikolai X. Shadeauxs 2023-03-12 18:54:34 -04:00
parent 93471b5101
commit ae503c24c4

View file

@ -7,6 +7,14 @@ Author URI: https://vontainment.com
*/

// Display the content for logged in users
session_start();

// Check if user is logged in
if (!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] !== true) {
header("Location: login.php");
exit;
}

?>

<!DOCTYPE html>