Allow upload of videos
This commit is contained in:
1 parent
3a82aa90aa
commit
b691a32f76
10 files changed
+140
-51
No files matched your search
+1
-1
@@ -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