2.4 mime


    list($type, $charset) = explode(';', finfo_file($finfo, $this->pwd()));

Results sometimes in

    Undefined offset: 1 in [/lib/Cake/Utility/File.php, line 560]

If an error occured for finfo_file() it can return false it seems.
Maybe that should be refactored?