mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
552a5c7b54
commit
a170d4d37c
@ -20,8 +20,8 @@ function init_complete_extensions_data()
|
||||
$GLOBALS['datastore']->update('attach_extensions');
|
||||
$extension_informations = get_extension_informations();
|
||||
}
|
||||
$allowed_extensions = array();
|
||||
|
||||
$allowed_extensions = array();
|
||||
for ($i = 0, $size = sizeof($extension_informations); $i < $size; $i++)
|
||||
{
|
||||
$extension = strtolower(trim($extension_informations[$i]['extension']));
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||
|
||||
// Don't count on forbidden extensions table, because it is not allowed to allow forbidden extensions at all
|
||||
$extensions = DB()->fetch_rowset("
|
||||
SELECT e.extension, g.cat_id, g.download_mode, g.upload_icon, g.allow_group FROM
|
||||
". BB_EXTENSIONS ." e,
|
||||
|
Loading…
Reference in New Issue
Block a user