mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #724 from unclecheese/patch-8
FIX: Add "jpeg" to list of allowed extensions
This commit is contained in:
commit
4916b361f1
@ -761,7 +761,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
* @return Array All extensions which can be handled by the different views.
|
||||
*/
|
||||
protected function getAllowedExtensions() {
|
||||
$exts = array('jpg', 'gif', 'png', 'swf');
|
||||
$exts = array('jpg', 'gif', 'png', 'swf','jpeg');
|
||||
$this->extend('updateAllowedExtensions', $exts);
|
||||
return $exts;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user