mirror of
https://github.com/torrentpier/torrentpier
synced 2025-07-07 13:31:42 -07:00
29 lines
809 B
PHP
29 lines
809 B
PHP
<?php
|
||
/**
|
||
* TorrentPier – Bull-powered BitTorrent tracker engine
|
||
*
|
||
* @copyright Copyright (c) 2005-2023 TorrentPier (https://torrentpier.com)
|
||
* @link https://github.com/torrentpier/torrentpier for the canonical source repository
|
||
* @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License
|
||
*/
|
||
|
||
if (!defined('BB_ROOT')) {
|
||
die(basename(__FILE__));
|
||
}
|
||
|
||
define('FILENAME_PREFIX', false);
|
||
define('FILENAME_PREFIX_LENGTH', 6);
|
||
define('FILENAME_MAX_LENGTH', 180);
|
||
define('FILENAME_CRYPTIC', false);
|
||
define('FILENAME_CRYPTIC_LENGTH', 64);
|
||
|
||
/**
|
||
* Entry Point
|
||
*/
|
||
function execute_posting_attachment_handling()
|
||
{
|
||
global $attachment_mod;
|
||
|
||
$attachment_mod['posting'] = new TorrentPier\Legacy\AttachPosting();
|
||
$attachment_mod['posting']->posting_attachment_mod();
|
||
}
|