X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FMimetype.php;h=bd87d30898a4abfac7940e412dfecb5d6b1026cc;hb=e52e505a481ed6f7e3766725d709b5f0653b036b;hp=658c4bd06ef962655b6128196ae78649463a574d;hpb=29f7ebe307c22b275466390937b82ccb3820fb1c;p=friendica.git diff --git a/src/Util/Mimetype.php b/src/Util/Mimetype.php index 658c4bd06e..bd87d30898 100644 --- a/src/Util/Mimetype.php +++ b/src/Util/Mimetype.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Util; class Mimetype @@ -1077,8 +1094,7 @@ class Mimetype if (array_key_exists($ext, $mime_types)) { return $mime_types[$ext]; } - } else { - return 'application/octet-stream'; } + return 'application/octet-stream'; } }