@@ -735,9 +735,9 @@ |
||
735 | 735 | $mime = 'application/octet-stream'; |
736 | 736 | |
737 | 737 | if(class_exists('finfo')){ |
738 | - $mime = (new \finfo(FILEINFO_MIME_TYPE ))->file($path); |
|
738 | + $mime = (new \finfo(FILEINFO_MIME_TYPE))->file($path); |
|
739 | 739 | } |
740 | - else if(function_exists('mime_content_type')) { |
|
740 | + else if(function_exists('mime_content_type')){ |
|
741 | 741 | $mime = mime_content_type($path); |
742 | 742 | } |
743 | 743 |