diff options
author | Max Kostikov <max@kostikov.co> | 2019-12-07 20:14:17 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-12-07 20:14:17 +0100 |
commit | aed682305173a67b2af1a56b8595445bec690e2b (patch) | |
tree | a022f3769332331a9c30f4b96a81a6b854690767 /Zotlabs/Module/Help.php | |
parent | 96f9e515466b749d1e1640aad3fd25bc19399f1a (diff) | |
download | volse-hubzilla-aed682305173a67b2af1a56b8595445bec690e2b.tar.gz volse-hubzilla-aed682305173a67b2af1a56b8595445bec690e2b.tar.bz2 volse-hubzilla-aed682305173a67b2af1a56b8595445bec690e2b.zip |
Add .webp image format support
Diffstat (limited to 'Zotlabs/Module/Help.php')
-rw-r--r-- | Zotlabs/Module/Help.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Help.php b/Zotlabs/Module/Help.php index f1b1acaef..ce05035b3 100644 --- a/Zotlabs/Module/Help.php +++ b/Zotlabs/Module/Help.php @@ -66,7 +66,10 @@ class Help extends \Zotlabs\Web\Controller { case IMAGETYPE_PNG: header("Content-Type: image/png"); break; - default: + case IMAGETYPE_WEBP: + header("Content-Type: image/webp"); + break; + default: break; } header("Content-Length: " . filesize($realpath)); |