<?php
require_once '../includes/include_all.inc.php';

session_unset();
session_destroy();

header('Content-Type: application/json');
echo json_encode(['success' => true, 'message' => 'Session destroyed']);
exit;
?>