Browse Source

Add json as a MIME.

pull/561/head
Jordan Dukart 10 years ago
parent
commit
64413a62a7
  1. 1
      includes/mime_detect.inc

1
includes/mime_detect.inc

@ -227,6 +227,7 @@ class MimeDetect {
'bin' => 'application/octet-stream', 'bin' => 'application/octet-stream',
// Web Archives: // Web Archives:
"warc" => "application/warc", "warc" => "application/warc",
"json" => "application/json",
); );
protected $protectedFileExtensions; protected $protectedFileExtensions;
protected $extensionExceptions = array( protected $extensionExceptions = array(

Loading…
Cancel
Save