diff options
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r-- | system/application/controllers/file.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index 8584948b9..c20fb10db 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -38,6 +38,8 @@ class File extends Controller { $this->do_paste(); } elseif ($this->file_mod->id_exists($this->uri->segment(1))) { $this->file_mod->download(); + } elseif ($this->var->cli_client) { + die("No upload or unknown ID requested.\n"); } else { $this->upload_form(); } |