From 007872a9b6c563aa206d9821c8fcc213032bb10c Mon Sep 17 00:00:00 2001 From: RedDragonWebDesign Date: Tue, 9 Dec 2025 03:19:45 -0800 Subject: [PATCH] mimes: add support for webp image type Why - the .webp image type has become common on the internet What - modify application/config/mimes.php to include `'webp' => 'image/webp'` --- application/config/mimes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/config/mimes.php b/application/config/mimes.php index b2e989fea9e..d806f69246f 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -182,5 +182,6 @@ 'odt' => 'application/vnd.oasis.opendocument.text', 'odm' => 'application/vnd.oasis.opendocument.text-master', 'ott' => 'application/vnd.oasis.opendocument.text-template', - 'oth' => 'application/vnd.oasis.opendocument.text-web' + 'oth' => 'application/vnd.oasis.opendocument.text-web', + 'webp' => 'image/webp' );