Changeset 3003
- Timestamp:
- 07/08/2008 09:32:12 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/modules/forge/libraries/Form_Upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Form_Upload.php
r2965 r3003 141 141 foreach ($types as $type) 142 142 { 143 if (in_array($mime, Config::item('mimes.'.$type))) 143 // Load the mime types 144 $type = Config::item('mimes.'.$type); 145 146 if (is_array($type) AND in_array($mime, $type)) 144 147 { 145 148 // Type is valid
