Пример #1
0
 public function getMimeType($file, $fallback)
 {
     return parent::getMimeType($file, $fallback);
 }
Пример #2
0
 /**
  * DOCUMENT ME
  * @param mixed $file
  * @param mixed $fallback
  * @return mixed
  */
 protected function getMimeType($file, $fallback)
 {
     // The microsoft guesser needs access to the original filename.
     // For reasons I'm not sure of, it doesn't work as a dynamic method
     // with call_user_func.
     $match = $this->guessMicrosoft($file);
     if (!is_null($match)) {
         return $match;
     }
     return parent::getMimeType($file, $fallback);
 }