<?php
/**
 * Sistema Médico - Cerrar Sesión
 */
require_once 'includes/config.php';
require_once 'includes/database.php';
require_once 'includes/auth.php';

$database = new Database();
$db = $database->getConnection();
$auth = new Auth($db);

$auth->logout();

header('Location: login.php');
exit();
?>

