]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Allow sgf files if they're recognized in mime search
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 25 Feb 2016 23:05:07 +0000 (00:05 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 25 Feb 2016 23:05:07 +0000 (00:05 +0100)
They are Go game files used on lamatriz.org. Note that my server
doesn't actually recognize these files and can identify the mime type,
but my browser did for some reason.

lib/default.php

index b945c24e207596b0a756400cd7df3bf5baec1ea0..c78803da973f24dc2b0d1dab48975cff0e1becc1 100644 (file)
@@ -241,6 +241,7 @@ $default =
                                 'application/vnd.oasis.opendocument.text-web'               => 'oth',
                                 'application/pdf'   => 'pdf',
                                 'application/zip'   => 'zip',
+                                'application/x-go-sgf' => 'sgf',
                                 'application/xml'   => 'xml',
                                 'image/png'         => 'png',
                                 'image/jpeg'        => 'jpg',