mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Перенос файлов движка в корень
This commit is contained in:
parent
584f692288
commit
f94c0dd2ee
585 changed files with 14 additions and 14 deletions
17
library/includes/datastore/build_attach_extensions.php
Normal file
17
library/includes/datastore/build_attach_extensions.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
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
|
||||
FROM
|
||||
". BB_EXTENSIONS ." e,
|
||||
". BB_EXTENSION_GROUPS ." g
|
||||
WHERE
|
||||
e.group_id = g.group_id
|
||||
AND g.allow_group = 1
|
||||
");
|
||||
|
||||
$this->store('attach_extensions', $extensions);
|
Loading…
Add table
Add a link
Reference in a new issue