daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $this->addOption('mime_type_guessers', array(
  2.       array($this, 'guessFromFileinfo'),
  3.       array($this, 'guessFromMimeContentType'),
  4.       array($this, 'guessFromFileBinary'),
  5.     ));
  6.  
  7.  
  8. //
  9.  
  10.   $this->validatorSchema['video']->setOption('mime_type_guessers', array(
  11.     array($this->validatorSchema['video'], 'guessFromFileBinary')
  12.   ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top