From a743797e2cade4c4f354daf13e036529a8a76537 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 5 Nov 2011 21:15:13 +0100 Subject: fix position of comment Signed-off-by: Florian Pritz --- application/models/file_mod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'application/models/file_mod.php') diff --git a/application/models/file_mod.php b/application/models/file_mod.php index f890744cf..5f1d7975c 100644 --- a/application/models/file_mod.php +++ b/application/models/file_mod.php @@ -265,7 +265,6 @@ class File_mod extends CI_Model { exit(); } - // highlight the file and chache the result $data['title'] = $filedata['filename']; $data['raw_link'] = site_url($id); $data['new_link'] = site_url(); @@ -283,7 +282,10 @@ class File_mod extends CI_Model { } else { $data['timeout'] = "never"; } + echo $this->load->view($this->var->view_dir.'/html_header', $data, true); + + // highlight the file and chache the result $this->load->library("MemcacheLibrary"); if (! $cached = $this->memcachelibrary->get($filedata['hash'].'_'.$mode)) { ob_start(); -- cgit v1.2.3-24-g4f1b