<?php
/**
 * validate-file-fragment.php (admin)
 *
 * Admin-gated HTMX fragment: validates uploaded file MIME type and size.
 * Wraps the shared validation logic.
 */
require_once __DIR__ . '/../../bootstrap.php';
require_once __DIR__ . '/../../src/AdminAuth.php';
AdminAuth::requireLogin();

require_once APP_ROOT . '/src/Controllers/validate-file-fragment-shared.php';
