mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update dl.php
This commit is contained in:
parent
c96e9dcccb
commit
c5a1ee95ff
2
dl.php
2
dl.php
@ -107,7 +107,7 @@ if (!($attachment = DB()->sql_fetchrow($result)))
|
|||||||
|
|
||||||
$attachment['physical_filename'] = basename($attachment['physical_filename']);
|
$attachment['physical_filename'] = basename($attachment['physical_filename']);
|
||||||
|
|
||||||
// Re-define download mode for thumbnails
|
// Re-define $attachment['physical_filename'] for thumbnails
|
||||||
if ($thumbnail)
|
if ($thumbnail)
|
||||||
{
|
{
|
||||||
$attachment['physical_filename'] = THUMB_DIR . '/t_' . $attachment['physical_filename'];
|
$attachment['physical_filename'] = THUMB_DIR . '/t_' . $attachment['physical_filename'];
|
||||||
|
Loading…
Reference in New Issue
Block a user