This commit is contained in:
Roman Kelesidis 2023-12-18 16:30:30 +07:00
parent 552a5c7b54
commit a170d4d37c
2 changed files with 1 additions and 2 deletions

View File

@ -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']));

View File

@ -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,