Browse Source

apply Bencode library update

main
ghost 1 year ago
parent
commit
b96ed08694
  1. 4
      src/Controller/TorrentController.php

4
src/Controller/TorrentController.php

@ -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' =>
[ [

Loading…
Cancel
Save