mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
default configuration: specific instructions for SVG support
This commit is contained in:
parent
c81e2b7f8b
commit
b0a5c404e7
1 changed files with 6 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue