1
0
mirror of https://github.com/YGGverse/YGGtracker.git synced 2025-03-09 12:01:05 +00:00

apply Bencode library update

This commit is contained in:
ghost 2023-11-04 15:02:38 +02:00
parent ff565ac33b
commit b96ed08694

@ -204,7 +204,9 @@ class TorrentController extends AbstractController
'private' => $file->isPrivate(), 'private' => $file->isPrivate(),
'source' => $file->getSource(), 'source' => $file->getSource(),
'comment' => $file->getComment(), 'comment' => $file->getComment(),
'tree' => $file->getFileTree(), 'tree' => $file->getFileTree(
\Rhilip\Bencode\TorrentFile::FILETREE_SORT_NATURAL // #34 @TODO cyrillic
),
//'trackers' => $file->getAnnounceList(), //'trackers' => $file->getAnnounceList(),
'hash' => 'hash' =>
[ [