mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-02-08 21:14:24 +00:00
update torrent file name #11
This commit is contained in:
parent
69214e8058
commit
dec2383a04
@ -997,9 +997,10 @@ class TorrentController extends AbstractController
|
||||
$response->headers->set(
|
||||
'Content-Disposition',
|
||||
sprintf(
|
||||
'attachment; filename="%s.%s.%s.torrent";',
|
||||
$this->getParameter('app.name'),
|
||||
$torrent->getId(),
|
||||
'attachment; filename="%s.%s.torrent";',
|
||||
mb_strtolower(
|
||||
$this->getParameter('app.name')
|
||||
),
|
||||
mb_strtolower(
|
||||
$file->getName()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user