Changeset 3004 for tags

Show
Ignore:
Timestamp:
07/08/2008 09:33:13 AM (5 months ago)
Author:
Shadowhand
Message:

Merged r3003 into tags/2.1.3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/2.1.3/modules/forge/libraries/Form_Upload.php

    r2119 r3004  
    155155                foreach ($types as $type) 
    156156                { 
    157                         if (in_array($mime, Config::item('mimes.'.$type))) 
     157                        // Load the mime types 
     158                        $type = Config::item('mimes.'.$type); 
     159 
     160                        if (is_array($type) AND in_array($mime, $type)) 
    158161                        { 
    159162                                // Type is valid