Supress PHP errors because we catch them ourselves.
[squirrelmail.git] / functions / attachment_common.php
index 4033468b3e1c4ee261055bcb67c0bb9cbd3fddef..573d72c70b1edadc5353ba62f89259e401b01f94 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * attachment_common.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This file provides the handling of often-used attachment types.
@@ -27,8 +27,8 @@ $FileExtensionToMimeType = array('bmp'  => 'image/x-bitmap',
                                  'txt'  => 'text/plain',
                                  'vcf'  => 'text/x-vcard');
 
-
 /* Register browser-supported image types */
+sqextractGlobalVar('attachment_common_types');
 if (isset($attachment_common_types)) {
     /* Don't run this before being logged in. That may happen
        when plugins include mime.php */