|
@@ -45,6 +45,10 @@ class FileBinaryMimeTypeGuesser implements MimeTypeGuesserInterface
|
|
throw new AccessDeniedException($path);
|
|
throw new AccessDeniedException($path);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (!self::isSupported()) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
ob_start();
|
|
ob_start();
|
|
|
|
|
|
// need to use --mime instead of -i. see #6641
|
|
// need to use --mime instead of -i. see #6641
|