source/Core/Utils.php
public function oxMimeContentType($sFileName)
    {
        $sFileName = strtolower($sFileName);
        $iLastDot = strrpos($sFileName, '.');

        if ($iLastDot !== false) {
            $sType = substr($sFileName, $iLastDot + 1);
            switch ($sType) {
                case 'gif':
                    $sType = 'image/gif';
                    break;
                case 'jpeg':
                case 'jpg':
                    $sType = 'image/jpeg';
                    break;
                case 'png':
                    $sType = 'image/png';
                    break;
                default:
                    $sType = false;
                    break;
            }
        }

        return $sType;
    }
public function oxMimeContentType($sFileName)
    {
        $sFileName = strtolower($sFileName);
        $iLastDot = strrpos($sFileName, '.');

        if ($iLastDot !== false) {
            $sType = substr($sFileName, $iLastDot + 1);
            switch ($sType) {
                case 'gif':
                    $sType = 'image/gif';
                    break;
                case 'jpeg':
                case 'jpg':
                    $sType = 'image/jpeg';
                    break;
                case 'png':
                    $sType = 'image/png';
                    break;
                default:
                    $sType = false;
                    break;
            }
        }

        return $sType;
    }
public function oxMimeContentType ( $ sFileName ) { $ sFileName = strtolower ( $ sFileName ) ; $ iLastDot = strrpos ( $ sFileName , '.' ) ; if ( $ iLastDot !== false ) { $ sType = substr ( $ sFileName , $ iLastDot + 1 ) ; switch ( $ sType ) { case 'gif' : $ sType = 'image/gif' ; break ; case 'jpeg' : case 'jpg' : $ sType = 'image/jpeg' ; break ; case 'png' : $ sType = 'image/png' ; break ; default : $ sType = false ; break ; } } return $ sType ; }
returns manually set mime types

@param string $sFileName the file

@return string
returns manually set mime types