diff options
author | Andrey Andreev <narf@bofh.bg> | 2011-12-02 14:00:36 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2011-12-02 14:00:36 +0100 |
commit | f796655d37163e7fd046395ddfe765baf752ec77 (patch) | |
tree | 5bb8d4a37eef6336e5ec07240831c574644d3ba5 | |
parent | 59654319d20a7ec406e7d6f15cf6804e94897d14 (diff) |
Update a comment, just to be clearer
-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 ff3461586..506d15897 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1042,7 +1042,7 @@ class CI_Upload { if (function_exists('mime_content_type')) { $this->file_type = @mime_content_type($file['tmp_name']); - if (strlen($this->file_type) > 0) // Turned out it's possible ... + if (strlen($this->file_type) > 0) // Turns out it's possible that mime_content_type() returns FALSE or an empty string { return; } |