Commits

christiansalazar committed 5ff4041

issue#1 fixed. allows any extension no matter allowedExtension denies it

  • Participants
  • Parent commits b535810

Comments (0)

Files changed (1)

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;