summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-04 13:43:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:46:55 +0200
commit71bee30f3e67b43058600dc09c8d5fa977b32e65 (patch)
treeaf175c80a9be72337085f9d41161661be5035fb9 /application/controllers/file.php
parenta71ec0f6948140fb3a7f23db3e6751eaed2dc089 (diff)
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, 1 insertions, 2 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index edf7e0315..44f691dec 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -200,8 +200,7 @@ class File extends CI_Controller {
$data = array();
if ($this->uri->segment(3)) {
- $this->var->cli_client = true;
- $this->var->view_dir = "file_plaintext";
+ exit;
}
$extension = $this->input->post('extension');