예제 #1
0
파일: mime.php 프로젝트: bermi/akelos
 static function getContentType()
 {
     if (empty($_SERVER['CONTENT_TYPE'])) {
         return false;
     }
     $mime_type_struct = AkMimeType::parseMimeType($_SERVER['CONTENT_TYPE']);
     return $mime_type_struct['type'];
 }