Commit 9eeac2e5 authored by mrfelton's avatar mrfelton Committed by Paris Liakos

Issue #1846674 Convert FILE_ENTITY_DEFAULT_ALLOWED_EXTENSIONS to the new variable

parent c49692be
......@@ -130,7 +130,7 @@ function media_variable_default($name = NULL) {
// Name of the theme to use in media popup dialogs, defaults to admin_theme
'dialog_theme' => '',
// @TODO: Make a configuration form with this.
'file_extensions' => FILE_ENTITY_DEFAULT_ALLOWED_EXTENSIONS . ' mp3 mov mp4 m4a m4v mpeg avi ogg oga ogv wmv ico',
'file_extensions' => variable_get('file_entity_default_allowed_extensions', 'jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp') . ' mp3 mov mp4 m4a m4v mpeg avi ogg oga ogv wmv ico',
'max_filesize' => '',
'debug' => FALSE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment