summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-07-12 23:15:20 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-07-12 23:15:20 +0200
commit9c0ca4d33b6571c969ac5084da6006688bb2991a (patch)
treede8764ec89af6bda92bd18d5f437cac36a58a7f6 /application/controllers/file.php
parentb97dfc7d5e645a4993f6b29d41d87af946a55016 (diff)
c/file: clarify comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 7984aa066..01836258a 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -575,7 +575,7 @@ class File extends CI_Controller {
if ($file['error'] !== UPLOAD_ERR_OK) {
$this->output->set_status_header(400);
- // ERR_OK only for completeness, if above ignores it
+ // ERR_OK only for completeness, condition above ignores it
$errors = array(
UPLOAD_ERR_OK => "There is no error, the file uploaded with success",
UPLOAD_ERR_INI_SIZE => "The uploaded file exceeds the upload_max_filesize directive in php.ini",