file::mime()
ファイルのMIMEタイプを取得する。拡張子から判断します
引数
説明
1
ファイルパス
戻
MIMEタイプ
不明の場合は
application/octet-stream