diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/controllers/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 31c1bd702..2bd8b6c8e 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -258,11 +258,11 @@ class File extends CI_Controller { $this->data['client_link_deb'] = base_url().'data/client/deb/'; $this->data['client_link_slackware'] = base_url().'data/client/slackware/'; - if (is_cli_client()) { + if (!is_cli_client()) { $this->load->view($this->var->view_dir.'/header', $this->data); } $this->load->view($this->var->view_dir.'/client', $this->data); - if (is_cli_client()) { + if (!is_cli_client()) { $this->load->view($this->var->view_dir.'/footer', $this->data); } } |