From: Mikael Nordfeldth Date: Thu, 25 Feb 2016 23:05:07 +0000 (+0100) Subject: Allow sgf files if they're recognized in mime search X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2669c5126512ac8721b886ea52144f39f1a52edf;p=quix0rs-gnu-social.git Allow sgf files if they're recognized in mime search 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. --- diff --git a/lib/default.php b/lib/default.php index b945c24e20..c78803da97 100644 --- a/lib/default.php +++ b/lib/default.php @@ -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',