git.cweiske.de
/
phancap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix .pdf MIME type
[phancap.git]
/
src
/
phancap
/
Image.php
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';