Fixed $bb_cfg['file_id_ext'] ordering (#338)

This commit is contained in:
Roman Kelesidis 2023-11-20 09:26:37 +07:00 committed by GitHub
parent afceb6327f
commit 5ba2fbe1fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -515,19 +515,16 @@ $bb_cfg['sitemap_sending'] = array( // Список URL адресов на ко
// Extensions [расширения разрешенные для загрузки через upload_common() класс только!]
$bb_cfg['file_id_ext'] = array(
// Images
1 => 'gif',
2 => 'jpg',
3 => 'png',
4 => 'bmp',
// Archives
5 => 'gz',
6 => '7z',
7 => 'rar',
8 => 'zip',
9 => 'tar',
// Other
10 => 'torrent',
2 => 'gz',
3 => 'jpg',
4 => 'png',
5 => 'rar',
6 => 'tar',
7 => 'tiff',
8 => 'torrent',
9 => 'zip',
10 => '7z'
);
// Attachments