Add stl to allowed file upload types
This commit is contained in:
parent
c094c21b43
commit
5703d93f35
@ -79,7 +79,7 @@ $wgMemCachedServers = [];
|
|||||||
## 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, array( 'pdf', 'svg' ));
|
$wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'svg', 'stl' ));
|
||||||
$wgUseImageMagick = true;
|
$wgUseImageMagick = true;
|
||||||
$wgImageMagickConvertCommand = "/usr/bin/convert";
|
$wgImageMagickConvertCommand = "/usr/bin/convert";
|
||||||
$wgGenerateThumbnailOnParse = true;
|
$wgGenerateThumbnailOnParse = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user