#4 Расширить форматы для загрузки файлов #5
@ -60,6 +60,9 @@ $wgEmailAuthentication = true;
|
|||||||
// To enable image uploads, make sure the 'images' directory
|
// To enable image uploads, make sure the 'images' directory
|
||||||
// is writable, then set this to true:
|
// is writable, then set this to true:
|
||||||
$wgEnableUploads = true;
|
$wgEnableUploads = true;
|
||||||
|
$wgFileExtensions = array_merge($wgFileExtensions, [
|
||||||
|
'doc', 'xls', 'pdf', 'ppt', 'xlsx',
|
||||||
|
]);
|
||||||
// $wgUseImageMagick = true;
|
// $wgUseImageMagick = true;
|
||||||
// $wgImageMagickConvertCommand = "/usr/bin/convert";
|
// $wgImageMagickConvertCommand = "/usr/bin/convert";
|
||||||
// $wgFileExtensions = [];
|
// $wgFileExtensions = [];
|
||||||
|
Reference in New Issue
Block a user