security update

This commit is contained in:
2026-01-19 08:57:58 +03:00
parent 55b3d5f088
commit 5c084c6aaa
8 changed files with 182 additions and 49 deletions

View File

@@ -1,5 +1,6 @@
<?php
session_start();
header('Content-Type: application/json; charset=utf-8');
require_once '../config/session.php';
if (isset($_SESSION['user_id'])) {
echo json_encode([