summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorDevesa Agustín <devesagustserwi@est.frba.utn.edu.ar>2020-01-14 18:49:52 +0100
committerGitHub <noreply@github.com>2020-01-14 18:49:52 +0100
commitd88fdc92c9a608fd92c124b7f078238b7d4f3eee (patch)
treeaa99ccca79ed1362ae309aebbde9a9835e462413 /system/libraries/Upload.php
parenta1151310b899134562cb98cc1603ee6823ad4cbd (diff)
Update Upload.php
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php2
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;
}