summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 466037833..2e8664984 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -217,7 +217,8 @@ class File extends CI_Controller {
$this->muser->require_access();
if ($this->uri->segment(3)) {
- exit;
+ $this->var->cli_client = true;
+ $this->var->view_dir = "file_plaintext";
}
$extension = $this->input->post('extension');