Gets the mime type by just looking at the extension.
public getMimeTypeByExtension ( string $file ) : string | ||
$file | string | the file to get the mimetype from |
return | string | the mimetype |
public getMimeTypeByExtension ( string $file ) : string | ||
$file | string | the file to get the mimetype from |
return | string | the mimetype |