Browse Source

Merge pull request #181 from nonmakina/allowCompressedFiles

Adds gz and bz2 to allowed upload extensions
pull/40/head
dedushka1 3 years ago
committed by GitHub
parent
commit
a8d59c339f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      inc/instance-config.php

5
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

Loading…
Cancel
Save