From b97581299b6d3fadb8a454fc9b8ea5f254add3f4 Mon Sep 17 00:00:00 2001 From: petko Date: Mon, 26 Feb 2024 08:34:20 +0000 Subject: Add upload extensions and image extension patterns AVIF, AVIFS. git-svn-id: svn://pmwiki.org/pmwiki/trunk@4668 524c5546-5005-0410-9a3e-e25e191bd360 --- scripts/upload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/upload.php b/scripts/upload.php index 9492cb8b..8f680625 100644 --- a/scripts/upload.php +++ b/scripts/upload.php @@ -28,6 +28,7 @@ SDVA($UploadExts,array( 'png' => 'image/png', 'apng' => 'image/apng', 'bmp' => 'image/bmp', 'ico' => 'image/x-icon', 'wbmp'=> 'image/vnd.wap.wbmp', 'xcf' => 'image/x-xcf', 'webp' => 'image/webp', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', + 'avif'=> 'image/avif', 'avifs' => 'image/avif', 'mp3' => 'audio/mpeg', 'au' => 'audio/basic', 'wav' => 'audio/x-wav', 'ogg' => 'audio/ogg', 'flac' => 'audio/x-flac', 'opus' => 'audio/opus', 'ogv' => 'video/ogg', 'mp4' => 'video/mp4', 'webm' => 'video/webm', -- cgit v1.2.3