function mediaType( $file ) {

		$mime = static::mimeType( $file );
		$mime = explode( ';', $mime );
		$mime = trim( $mime[0] );

		return $mime;
	}
function mediaType( $file ) {

		$mime = static::mimeType( $file );
		$mime = explode( ';', $mime );
		$mime = trim( $mime[0] );

		return $mime;
	}
function mediaType ( $ file ) { $ mime = static :: mimeType ( $ file ) ; $ mime = explode ( ';' , $ mime ) ; $ mime = trim ( $ mime [ 0 ] ) ; return $ mime ; }
Override mimeType, get rid of '; charset=binary'

@param string $file

@return mixed|string
Override mimeType get rid of ; charset = binary