コード例 #1
0
ファイル: Reader.php プロジェクト: 5haman/knowledgetree
 /**
  * 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());
 }
コード例 #2
0
ファイル: Reader.php プロジェクト: Caojunkai/arcticfox
 /**
  * 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());
 }