diff options
author | Devesa AgustÃn <devesagustserwi@est.frba.utn.edu.ar> | 2020-01-14 18:49:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 18:49:52 +0100 |
commit | d88fdc92c9a608fd92c124b7f078238b7d4f3eee (patch) | |
tree | aa99ccca79ed1362ae309aebbde9a9835e462413 /system/libraries/Upload.php | |
parent | a1151310b899134562cb98cc1603ee6823ad4cbd (diff) |
Update Upload.php
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 39045c772..2e17b1463 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -901,7 +901,7 @@ class CI_Upload { } // Images get some additional checks - if (in_array($ext, array('gif', 'jpg', 'jpeg', 'jpe', 'png','webp'), TRUE) && @getimagesize($this->file_temp) === FALSE){ + if (in_array($ext, array('gif', 'jpg', 'jpeg', 'jpe', 'png', 'webp'), TRUE) && @getimagesize($this->file_temp) === FALSE){ return FALSE; } |