Source

coco / CocoWidget.php

Diff from to

File CocoWidget.php

 
 		if($action == 'upload'){
 
-			$uploader = new ValumsFileUploader(array(), $this->sizeLimit);
+			$uploader = new ValumsFileUploader($this->allowedExtensions, $this->sizeLimit);
 			if($uploader->checkServerSettings() != null){
 				Yii::log("CocoWidget. Please increase post_max_size and upload_max_filesize to ".$this->sizeLimit,"error");
 				return;