コード例 #1
0
ファイル: Upload.php プロジェクト: agentmedia/phine-framework
 private function InvalidMimeType()
 {
     if (count($this->mimeTypes) == 0) {
         return true;
     }
     $mimeType = IO\File::GetMimeType($this->upload->TempPath());
     return !in_array($mimeType, $this->mimeTypes);
 }