Allow upload of videos
This commit is contained in:
@@ -15,7 +15,7 @@ class Uploader extends UploadHandler
|
||||
$this->error_messages['wrong_project_mode'] = 'Le projet n\'est pas en mode "blog".';
|
||||
$this->oPicture = &$oPicture;
|
||||
$this->sBody = '';
|
||||
parent::__construct(array('image_versions'=>array(), 'accept_file_types'=>'/\.(gif|jpe?g|png)$/i'));
|
||||
parent::__construct(array('image_versions'=>array(), 'accept_file_types'=>'/\.(gif|jpe?g|png|mov)$/i'));
|
||||
}
|
||||
|
||||
protected function validate($uploaded_file, $file, $error, $index) {
|
||||
|
||||
Reference in New Issue
Block a user