<?php
require_once __DIR__ . '/../auth/verifica.php';
require_once __DIR__ . '/../config/conexao.php';
$id = intval($_GET['id'] ?? 0);
if ($id > 0) { $pdo->prepare("DELETE FROM usuarios WHERE id = :id")->execute(['id' => $id]); }
header("Location: usuarios.php"); exit;
