Allow zipfile and 7zip uploads

From Richard's Wiki
Revision as of 05:57, 13 January 2009 by Rkdrm (Talk | contribs)

Jump to: navigation, search

Edit LocalSettings.php:

 $wgFileExtensions[] = 'zip';
 $wgFileExtensions[] = '7z';

This adds ".zip" to allowed media: uploads array, as well as retaining the default .png, .gif, .jpg etc.