From f8e7f8062b65f95fb255058eb19b627e7d066826 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Mon, 2 Jun 2014 14:32:58 -0300 Subject: [PATCH] chem mime fixes --- includes/mime_detect.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/mime_detect.inc b/includes/mime_detect.inc index a602ace2..310aa115 100644 --- a/includes/mime_detect.inc +++ b/includes/mime_detect.inc @@ -191,6 +191,8 @@ class MimeDetect { "xyz" => "chemical/x-xyz", // PDB. "pdb" => "chemical/x-pdb", + // ChemDraw CDX. + 'cdx' => 'chemical/x-cdx', // ChemDraw 3D. "c3d" => "chemical/x-chem3d", // ChemDraw file. @@ -208,7 +210,7 @@ class MimeDetect { // Gaussian 98/03 Cartesian Input. "gau" => "chemical/x-gaussian-input", // Corel Multimedia Manager v6 Album. - "gal" => "application/octet-stream", + 'gal' => 'chemical/x-gaussian', // JCAMP Spectroscopic Data Exchange Format. "jdx" => "chemical/x-jcamp-dx", // OpenDX Grid.