Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/**
4
 * Attachment form.
5
 *
6
 * @package    form
7
 * @subpackage attachment
8
 * @version    SVN: $Id: AttachmentForm.class.php 24068 2009-11-17 06:39:35Z Kris.Wallsmith $
9
 */
10
class AttachmentForm extends BaseAttachmentForm
11
{
12
  public function configure()
13
  {
14
    $this->widgetSchema['file'] = new sfWidgetFormInputFile();
15
    $this->validatorSchema['file'] = new sfValidatorFile(array(
16
      'path' => sfConfig::get('sf_cache_dir'),
17
      'mime_type_guessers' => array(),
18
    ));
19
  }
20
}