One of my favorite commits: make .jpg the default extension for jpeg images.
authorJan Schneider <jan@horde.org>
Mon, 1 Mar 2010 15:04:35 +0000 (16:04 +0100)
committerJan Schneider <jan@horde.org>
Mon, 1 Mar 2010 15:04:35 +0000 (16:04 +0100)
framework/Mime/lib/Horde/Mime/mime.mapping.php

index b31868b..53e0810 100644 (file)
@@ -457,10 +457,10 @@ $mime_extension_map = array(
     'joda'          => 'application/vnd.joost.joda-archive',
     'jp2'           => 'image/jp2',
     'jpc'           => 'image/jp2',
+    'jpg'           => 'image/jpeg',
     'jpe'           => 'image/jpeg',
     'jpeg'          => 'image/jpeg',
     'jpf'           => 'image/jp2',
-    'jpg'           => 'image/jpeg',
     'jpgm'          => 'video/jpm',
     'jpgv'          => 'video/jpeg',
     'jpm'           => 'video/jpm',