summaryrefslogtreecommitdiff
path: root/lib/uploads.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-11 02:01:55 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-11 02:01:55 +0300
commit2c294cdd2189e95b2c4022bbedac60d81e1f7f68 (patch)
tree4c2c66781bfe5c3d04d8fdd294acdef15f0d2b63 /lib/uploads.php
parent8a689a49dde08dc4beb448b4af3ea28427c71a5e (diff)
uploads: allow more extensions
Diffstat (limited to 'lib/uploads.php')
-rw-r--r--lib/uploads.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uploads.php b/lib/uploads.php
index 62be276..6c7e6bc 100644
--- a/lib/uploads.php
+++ b/lib/uploads.php
@@ -5,7 +5,7 @@ class uploads {
protected static $allowedExtensions = [
'jpg', 'png', 'git', 'mp4', 'mp3', 'ogg', 'diff', 'txt', 'gz', 'tar',
'icc', 'icm', 'patch', 'zip', 'brd', 'pdf', 'lua', 'xpi', 'rar', '7z',
- 'tgz', 'bin', 'py', 'pac',
+ 'tgz', 'bin', 'py', 'pac', 'yaml', 'toml', 'xml', 'json', 'yml',
];
public static function getCount(): int {