Ejemplo n.º 1
0
 /**
  * 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());
 }
Ejemplo n.º 2
0
 /**
  * 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());
 }