mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Used new Bencoder library 🔩 (#791)
Co-authored-by: Constantine Kovalensky <45331093+kovalensky@users.noreply.github.com>
This commit is contained in:
parent
356218dc67
commit
2369e4cc0c
8 changed files with 154 additions and 75 deletions
|
@ -32,7 +32,7 @@ if (file_exists($filename) && !$file_contents = file_get_contents($filename)) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!$tor = \Rych\Bencode\Bencode::decode($file_contents)) {
|
||||
if (!$tor = \SandFox\Bencode\Bencode::decode($file_contents)) {
|
||||
return $lang['TORFILE_INVALID'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue