Skip to content

Commit

Permalink
fix spell of contentType
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghal committed Oct 27, 2013
1 parent 81e6a56 commit bfde2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/CakeResponse.php
Expand Up @@ -1281,7 +1281,7 @@ public function file($path, $options = array()) {
$agent = env('HTTP_USER_AGENT');

if (preg_match('%Opera(/| )([0-9].[0-9]{1,2})%', $agent)) {
$contentType = 'application/octetstream';
$contentType = 'application/octet-stream';
} elseif (preg_match('/MSIE ([0-9].[0-9]{1,2})/', $agent)) {
$contentType = 'application/force-download';
}
Expand Down

0 comments on commit bfde2d1

Please sign in to comment.