diff options
author | Devesa Agustín <adevesa@mininterior.gob.ar> | 2020-01-28 03:56:42 +0100 |
---|---|---|
committer | Devesa Agustín <adevesa@mininterior.gob.ar> | 2020-01-28 03:56:42 +0100 |
commit | f9a9239a32405fb458dbe2a086bc64c98d418c71 (patch) | |
tree | ac28db27e44a2f4a00768a4f879fefc3dbe916d1 /system/libraries/Upload.php | |
parent | d88fdc92c9a608fd92c124b7f078238b7d4f3eee (diff) |
Update Upload.php
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 2e17b1463..95f765b78 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -901,7 +901,8 @@ 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; } |