git.cweiske.de
/
phancap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fffa35
)
Fix .pdf MIME type
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 29 Jun 2016 19:30:05 +0000
(21:30 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 29 Jun 2016 19:30:05 +0000
(21:30 +0200)
src/phancap/Image.php
patch
|
blob
|
history
diff --git
a/src/phancap/Image.php
b/src/phancap/Image.php
index 15263c2b3f5165314f077bc7f7b5a38c943bf30f..5a497ccef970f23d1d55070e4d8dd9cc4eea644e 100644
(file)
--- a/
src/phancap/Image.php
+++ b/
src/phancap/Image.php
@@
-77,7
+77,7
@@
class Image
return 'image/jpeg';
} else if ($ext == '.png') {
return 'image/png';
- } else if ($ext == '.p
ng
') {
+ } else if ($ext == '.p
df
') {
return 'application/pdf';
}
return 'application/octet-stream';