35136-vm/auth.php
Flatlogic Bot 3d1ae14d5d v1
2025-10-23 08:54:07 +00:00

9 lines
168 B
PHP

<?php
session_start();
// If the user is not logged in, redirect to the login page.
if (!isset($_SESSION['user_id'])) {
header('Location: login.php');
exit;
}