<?php

declare(strict_types=1);

require_once dirname(__DIR__, 3) . '/system/bootstrap.php';

$fileId = trim((string) ($_GET['id'] ?? ''));
$download = trim((string) ($_GET['download'] ?? '')) === '1';
$rendition = trim((string) ($_GET['rendition'] ?? ''));

myronStreamFileById($fileId, $download, $rendition);
