fix spell of contentType

This commit is contained in:
Saleh Souzanchi 2013-10-28 00:49:40 +03:30
parent 81e6a56543
commit bfde2d136f

View file

@ -1281,7 +1281,7 @@ class CakeResponse {
$agent = env('HTTP_USER_AGENT'); $agent = env('HTTP_USER_AGENT');
if (preg_match('%Opera(/| )([0-9].[0-9]{1,2})%', $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)) { } elseif (preg_match('/MSIE ([0-9].[0-9]{1,2})/', $agent)) {
$contentType = 'application/force-download'; $contentType = 'application/force-download';
} }