protected static function mimetypeInternalDetect($path)
    {
        $pinfo = pathinfo($path);
        $ext   = isset($pinfo['extension']) ? strtolower($pinfo['extension']) : '';

        return isset(elFinderVolumeDriver::$mimetypes[$ext]) ? elFinderVolumeDriver::$mimetypes[$ext] : 'unknown';

    }