summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-07-22 20:35:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-07-22 20:35:56 +0200
commit6b679a68a5c789ebfed41aff3269c6b8008b2779 (patch)
tree5028d78baba3d9ff588943414bf15c5e5e5a93f8 /application
parentcb7485126d52ff173340234a1e2624094c667e58 (diff)
display header on client page when using browser
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/controllers/file.php4
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);
}
}