mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-02-02 01:54:13 +00:00
append torrent filename to the manual wanted downloads
This commit is contained in:
parent
2e4129927d
commit
7796aba342
@ -2534,7 +2534,8 @@ class TorrentController extends AbstractController
|
|||||||
$response->headers->set(
|
$response->headers->set(
|
||||||
'Content-Disposition',
|
'Content-Disposition',
|
||||||
sprintf(
|
sprintf(
|
||||||
'attachment; filename="wanted#%s.torrent";',
|
'attachment; filename="%s [wanted#%s].torrent";',
|
||||||
|
$file->getName(),
|
||||||
$torrent->getId()
|
$torrent->getId()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user