Skip to content

Commit

Permalink
fix #140
Browse files Browse the repository at this point in the history
  • Loading branch information
samayo committed Oct 14, 2023
1 parent f25f732 commit 510d83e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bulletproof.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,10 @@ public function setStorage($dir = 'uploads', $permission = 0666)
* @return boolean
*/
protected function constraintValidator()
{
{
// handle naming of file
$this->setName();

/* check image for valid mime types and return mime */
$this->getImageMime($this->_files['tmp_name']);

Expand Down

0 comments on commit 510d83e

Please sign in to comment.