replace bencode library to rhilip/bencode, fix files tree builder #11

This commit is contained in:
ghost 2023-10-07 04:37:43 +03:00
parent 387acb59b6
commit 86e1455c6b
9 changed files with 175 additions and 130 deletions

View file

@ -189,7 +189,7 @@ class PageController extends AbstractController
continue;
}
if (empty($torrentService->getTorrentFilenameByFilepath($file->getPathName())))
if (empty($torrentService->getTorrentInfoNameByFilepath($file->getPathName())))
{
$form['torrent']['error'][] = $translator->trans('Could not parse torrent file');