diff options
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r-- | application/controllers/file.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 2a56df96c..0848d7470 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -224,6 +224,11 @@ class File extends CI_Controller { { $this->muser->require_access(); + if (!$this->var->cli_client) { + echo "Not a listed cli client, please use the history to delete uploads.\n"; + return; + } + $id = $this->uri->segment(3); $this->data["id"] = $id; |