default configuration: specific instructions for SVG support

This commit is contained in:
plegall 2024-09-27 17:21:50 +02:00
parent c81e2b7f8b
commit b0a5c404e7

View file

@ -39,13 +39,18 @@
// $conf['order_by_inside_category_custom'] = $conf['order_by_custom'];
// picture_ext : file extensions for picture file, must be a subset of
// file_ext
// file_ext.
//
// Specific note for SVG support: do not add 'svg' in picture_ext, have it only
// in file_ext
$conf['picture_ext'] = array('jpg','jpeg','png','gif','webp');
// file_ext : file extensions (case sensitive) authorized
//
// * if you enable "eps" file extension, make sure you have this file type
// authorized in your ImageMagick policy
// * do not forget to set $conf['upload_form_all_types'] = true; if you want
// to permit upload of file_ext files
$conf['file_ext'] = array_merge(
$conf['picture_ext'],
array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg', 'heic')