summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevesa Agustín <devesagustserwi@est.frba.utn.edu.ar>2020-01-08 16:27:55 +0100
committerGitHub <noreply@github.com>2020-01-08 16:27:55 +0100
commitce5815d9b3e99c99b75eace703e52d2b236b6392 (patch)
tree20af81de4dcf82523ca896f5a71e8495bfd5606d
parent0db8b60492cc98ef3c85b986fc11e9dac6d7ca6c (diff)
change appliation/config.php for webp mime
-rw-r--r--application/config/mimes.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php
index 7aa5c9e4e..9c76b87f1 100644
--- a/application/config/mimes.php
+++ b/application/config/mimes.php
@@ -74,9 +74,9 @@ return array(
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
'gif' => 'image/gif',
- 'jpeg' => array('image/jpeg', 'image/pjpeg'),
- 'jpg' => array('image/jpeg', 'image/pjpeg'),
- 'jpe' => array('image/jpeg', 'image/pjpeg'),
+ 'jpeg' => array('image/jpeg', 'image/pjpeg','image/webp'),
+ 'jpg' => array('image/jpeg', 'image/pjpeg','image/webp'),
+ 'jpe' => array('image/jpeg', 'image/pjpeg','image/webp'),
'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
@@ -140,6 +140,7 @@ return array(
'f4v' => array('video/mp4', 'video/x-f4v'),
'flv' => 'video/x-flv',
'webm' => 'video/webm',
+ 'webp' => 'image/webp',
'aac' => array('audio/x-aac', 'audio/aac'),
'm4u' => 'application/vnd.mpegurl',
'm3u' => 'text/plain',