6
This commit is contained in:
@@ -218,7 +218,7 @@ class JwtService
|
||||
// ── Internal API Key — للـ get_connect.php ─────────────
|
||||
public static function validateInternalKey(): void
|
||||
{
|
||||
$keyPath = '/home/intaleq-api/.internal_socket_key';
|
||||
$keyPath = getenv('INTERNAL_SOCKET_KEY_PATH');
|
||||
$sent = $_SERVER['HTTP_X_INTERNAL_KEY'] ?? '';
|
||||
$expected = (file_exists($keyPath) ? trim(file_get_contents($keyPath)) : '') ?: 'Intaleq_Secure_Bridge_Key_2026_@!socket';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user