Update dl.php

This commit is contained in:
Roman Kelesidis 2024-09-16 22:05:25 +07:00
commit 7c11cc385b

2
dl.php
View file

@ -25,6 +25,8 @@ $thumbnail = request_var('thumb', 0);
$is_m3u = false;
if (str_starts_with($download_id, \TorrentPier\TorrServerAPI::M3U['prefix'])) {
$is_m3u = true;
} else {
$download_id = (int)$download_id;
}
// Send file to browser