38929-vm/index.php
2026-03-03 06:54:52 +00:00

9 lines
173 B
PHP

<?php
require_once __DIR__ . '/includes/lang.php';
if (isset($_SESSION['user_id'])) {
header('Location: admin.php');
} else {
header('Location: login.php');
}
exit;