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-05 19:44:15 +0100
commit0dc7c62cb01cc23a02d08f3cf5e47da2fa1f8721 (patch)
tree55692bbbb06864d7cce6b0e509a3dcc47b8e953b /application/controllers
parent35ab0b829a7d30612be15c1e6d2743019d50ed08 (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()