@@ -37,6 +37,6 @@ |
||
37 | 37 | } |
38 | 38 | } |
39 | 39 | |
40 | - return null; // undetermined |
|
40 | + return null; // undetermined |
|
41 | 41 | } |
42 | 42 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | // Non-trivial image mime types |
72 | 72 | switch ($fileExtension) { |
73 | - case 'ico': |
|
73 | + case 'ico': |
|
74 | 74 | case 'cur': |
75 | 75 | return 'image/x-icon'; // or perhaps 'vnd.microsoft.icon' ? |
76 | 76 |
@@ -72,7 +72,7 @@ |
||
72 | 72 | switch ($fileExtension) { |
73 | 73 | case 'ico': |
74 | 74 | case 'cur': |
75 | - return 'image/x-icon'; // or perhaps 'vnd.microsoft.icon' ? |
|
75 | + return 'image/x-icon'; // or perhaps 'vnd.microsoft.icon' ? |
|
76 | 76 | |
77 | 77 | case 'jpg': |
78 | 78 | return 'image/jpeg'; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | // Note that <xml> tag might be big too... - so we read in 200 extra |
73 | 73 | $moreBytes = @fread($handle, 200); |
74 | 74 | if ($moreBytes !== false) { |
75 | - $sampleBin .= $moreBytes; |
|
75 | + $sampleBin .= $moreBytes; |
|
76 | 76 | } |
77 | 77 | $binPatterns[] = ['image/svg+xml', "/^(<\?xml[^>]*\?>.*)?<svg/is"]; |
78 | 78 | break; |