Set Allowed File Types
public set_allowed_types ( mixed $types ) : CI_Upload | ||
$types | mixed | |
return | CI_Upload |
/** * Set Allowed File Types * * @access public * @param string extensions of filetypes allowed * @return void */ function set_allowed_types($types) { if ($types == '*') { $this->allowed_types = '*'; } else { parent::set_allowed_types($types); } }