mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
update torrent file name #11
This commit is contained in:
parent
69214e8058
commit
dec2383a04
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue