getExtensionByMime

getExtensionByMime ( string pathFileOnDisk ) : string

Get the file extension by its mime type.

Parameters

pathFileOnDisk