34959-vm/auth.php
Flatlogic Bot e428ea4534 v1
2025-10-14 17:08:20 +00:00

8 lines
153 B
PHP

<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header('Location: index.php?error=You must be logged in to view this page');
exit;
}