Browse Source

Merge pull request #561 from jordandukart/7.x-LIB-37

Add json as a MIME.
pull/562/head
William Panting 10 years ago
parent
commit
96c86a4bfa
  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