mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Revert "refactor: Moved classes from Legacy
folder to src
root (#1828)"
This reverts commit 92ce77ec0e
.
This commit is contained in:
parent
680bd77920
commit
380c94ff07
73 changed files with 276 additions and 258 deletions
|
@ -148,7 +148,7 @@ if ($tor_reged && $tor_info) {
|
|||
$tor_type = $tor_info['tor_type'];
|
||||
|
||||
// Magnet link
|
||||
$user_passkey = TorrentPier\Torrent::getPasskey($bt_user_id);
|
||||
$user_passkey = \TorrentPier\Legacy\Torrent::getPasskey($bt_user_id);
|
||||
$tor_magnet = create_magnet($tor_info['info_hash'], $tor_info['info_hash_v2'], $user_passkey, html_ent_decode($t_data['topic_title']));
|
||||
|
||||
// ratio limits
|
||||
|
|
|
@ -18,6 +18,6 @@ function execute_posting_attachment_handling()
|
|||
{
|
||||
global $attachment_mod;
|
||||
|
||||
$attachment_mod['posting'] = new TorrentPier\AttachPosting();
|
||||
$attachment_mod['posting'] = new TorrentPier\Legacy\AttachPosting();
|
||||
$attachment_mod['posting']->posting_attachment_mod();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue