mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Split functions to the composer autoloading
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
6aae72b836
commit
83ca67fae6
75 changed files with 3612 additions and 3184 deletions
3
dl.php
3
dl.php
|
@ -44,8 +44,7 @@ function send_file_to_browser($attachment, $upload_dir)
|
|||
|
||||
//bt
|
||||
if (!(isset($_GET['original']) && !IS_USER)) {
|
||||
include INC_DIR . '/functions_torrent.php';
|
||||
send_torrent_with_passkey($filename);
|
||||
\TorrentPier\Legacy\Torrent::send_torrent_with_passkey($filename);
|
||||
}
|
||||
|
||||
// Now the tricky part... let's dance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue