feat: harden backend security with HMAC verification, SSL validation, and documentation updates while removing legacy scripts.

This commit is contained in:
Hamza-Ayed
2026-07-08 22:10:01 +03:00
parent 628e169552
commit 21877153eb
20 changed files with 6267 additions and 17 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
// ── سجل تتبع ────────────────────────────────────────────
$debugFile = __DIR__ . '/../../../logs/audit_debug.txt';
$logDir = dirname($debugFile);
if (!is_dir($logDir)) @mkdir($logDir, 0777, true);
if (!is_dir($logDir)) @mkdir($logDir, 0750, true);
@file_put_contents($debugFile, "[" . date('Y-m-d H:i:s') . "] === REQUEST START ===\n", FILE_APPEND);