Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make the link relative again
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
filecheck.pm
diff --git
a/IkiWiki/Plugin/filecheck.pm
b/IkiWiki/Plugin/filecheck.pm
index 9992f2c2699371eb39ddb86776bba6c18c7a3562..cdea5c706f4085686bf20b5e7a09283792137c31 100644
(file)
--- a/
IkiWiki/Plugin/filecheck.pm
+++ b/
IkiWiki/Plugin/filecheck.pm
@@
-139,7
+139,7
@@
sub match_mimetype ($$;@) {
my $mimeinfo_ok=! $@;
my $mimetype;
if ($mimeinfo_ok) {
-
my
$mimetype=File::MimeInfo::Magic::magic($file);
+ $mimetype=File::MimeInfo::Magic::magic($file);
}
# Fall back to using file, which has a more complete