mirror of
https://github.com/torrentpier/torrentpier.git
synced 2024-11-23 14:00:20 -08:00
6660bf26e4
* Fixed extensions issue * Update CHANGELOG.md
22 lines
671 B
PHP
22 lines
671 B
PHP
<?php
|
||
/**
|
||
* TorrentPier – Bull-powered BitTorrent tracker engine
|
||
*
|
||
* @copyright Copyright (c) 2005-2024 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__));
|
||
}
|
||
|
||
$extensions = DB()->fetch_rowset("
|
||
SELECT e.extension, g.cat_id, g.download_mode, g.upload_icon, g.allow_group FROM
|
||
" . BB_EXTENSIONS . " e,
|
||
" . BB_EXTENSION_GROUPS . " g
|
||
WHERE e.group_id = g.group_id
|
||
");
|
||
|
||
$this->store('attach_extensions', $extensions);
|