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 @@ function error_exit($msg = '')
|
|||
{
|
||||
silent_exit();
|
||||
|
||||
echo \Rych\Bencode\Bencode::encode(['failure reason' => str_compact($msg)]);
|
||||
echo \SandFox\Bencode\Bencode::encode(['failure reason' => str_compact($msg)]);
|
||||
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue