From 2c294cdd2189e95b2c4022bbedac60d81e1f7f68 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 11 Dec 2022 02:01:55 +0300 Subject: uploads: allow more extensions --- lib/uploads.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3