Browse Source
Merge pull request #181 from nonmakina/allowCompressedFiles
Adds gz and bz2 to allowed upload extensions
gitIgnore1
dedushka1
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
inc/instance-config.php
|
|
@ -154,8 +154,11 @@ $config['allowed_ext_files'][] = 'mp3'; |
|
|
|
$config['allowed_ext_files'][] = 'mp4'; |
|
|
|
$config['allowed_ext_files'][] = 'pdf'; |
|
|
|
$config['allowed_ext_files'][] = 'txt'; |
|
|
|
$config['allowed_ext_files'][] = 'zip'; |
|
|
|
$config['allowed_ext_files'][] = 'epub'; |
|
|
|
// Compressed files |
|
|
|
$config['allowed_ext_files'][] = 'zip'; |
|
|
|
$config['allowed_ext_files'][] = 'gz'; |
|
|
|
$config['allowed_ext_files'][] = 'bz2'; |
|
|
|
|
|
|
|
/* |
|
|
|
* Flags |
|
|
|