/** * Returns the MIME associated with the current file * The default function does that by looking at the extension of the file */ function getMime() { require_once "File/Archive/Reader/MimeList.php"; return File_Archive_Reader_GetMime($this->getFilename()); }
/** * Returns the MIME associated with the current file * The default function does that by looking at the extension of the file */ function getMime() { require_once dirname(__FILE__) . "/Reader/MimeList.php"; return File_Archive_Reader_GetMime($this->getFilename()); }