#4 Расширить форматы для загрузки файлов (#5)

Closes #4

Reviewed-on: #5
This commit is contained in:
Illya Marchenko 2023-06-25 15:27:48 +03:00
parent d4af5f4621
commit d7261fc653

View File

@ -60,6 +60,9 @@ $wgEmailAuthentication = true;
// To enable image uploads, make sure the 'images' directory
// is writable, then set this to true:
$wgEnableUploads = true;
$wgFileExtensions = array_merge($wgFileExtensions, [
'doc', 'xls', 'pdf', 'ppt', 'xlsx',
]);
// $wgUseImageMagick = true;
// $wgImageMagickConvertCommand = "/usr/bin/convert";
// $wgFileExtensions = [];