made change to allow all file types for uploads
This commit is contained in:
@ -578,6 +578,11 @@ class CI_Upload {
|
||||
$this->set_error('upload_no_file_types');
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if($this->allowed_types[0] == '*')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
$ext = strtolower(ltrim($this->file_ext, '.'));
|
||||
|
||||
@ -967,4 +972,4 @@ class CI_Upload {
|
||||
// END Upload Class
|
||||
|
||||
/* End of file Upload.php */
|
||||
/* Location: ./system/libraries/Upload.php */
|
||||
/* Location: ./system/libraries/Upload.php */
|
||||
|
||||
Reference in New Issue
Block a user