Skip to content

Commit

Permalink
Fix __getMIMEType error (thanks @mthie)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpyo committed Oct 8, 2013
1 parent a5c6f98 commit d221e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ private static function __getMIMEType(&$file)
if ($type !== false && strlen($type) > 0) return $type;
}

return ($type !== false && strlen($type) > 0) ? $type : 'application/octet-stream';
return 'application/octet-stream';
}


Expand Down

0 comments on commit d221e91

Please sign in to comment.