Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->setValidator('audio', new sfValidatorFile(
- array(
- 'mime_types' => array('audio/mpeg'),
- 'path' => sfConfig::get('sf_upload_dir').'/users/audio',
- 'required' => true,
- 'max_size' => '2097152'
- )
Add Comment
Please, Sign In to add comment