Change allowed upload file types: Difference between revisions
Jump to navigation
Jump to search
(Created page with "in LocalSettings.php <pre> $wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'ppt', 'jp2', 'webp', 'doc','docx', 'xls', 'xlsx', 'jar', 'exe', 'txt'...") |
No edit summary |
||
Line 6: | Line 6: | ||
) | ) | ||
</pre> | </pre> | ||
for file size | |||
$wgMaxUploadSize = 2000000000; |
Latest revision as of 09:24, 10 September 2019
in LocalSettings.php
$wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'ppt', 'jp2', 'webp', 'doc','docx', 'xls', 'xlsx', 'jar', 'exe', 'txt', 'json', 'xml', 'zip' )
for file size
$wgMaxUploadSize = 2000000000;