summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-26 11:34:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:29:04 +0100
commite9b1fc5637b8412038a9c400c983c526829b6664 (patch)
tree715f70f32a08cddada3765b26852795d38d60daf /application/controllers
parentcb58719aa2db88fc810b1d5724ec9f6e7fdc984c (diff)
Drop file_plaintext views
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file/file_default.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/application/controllers/file/file_default.php b/application/controllers/file/file_default.php
index 3b5eb0ee4..82e933021 100644
--- a/application/controllers/file/file_default.php
+++ b/application/controllers/file/file_default.php
@@ -16,11 +16,7 @@ class File_default extends MY_Controller {
$this->load->model('mfile');
$this->load->model('mmultipaste');
- if (is_cli_client()) {
- $this->var->view_dir = "file_plaintext";
- } else {
- $this->var->view_dir = "file";
- }
+ $this->var->view_dir = "file";
}
function index()