summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-08 23:38:05 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:47:40 +0200
commit1040dbad987e280c61134c83194832224ff870b5 (patch)
tree934bd81c43c992b6faccd3383fe17bb60519ffe0 /application/controllers/file.php
parent4bbdd1d7737c100668c7adb952ec181f941e6a55 (diff)
Revert "Disable paste box"
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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');