summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-11-05 21:15:13 +0100
committerFlorian Pritz <bluewind@xinu.at>2011-11-05 21:15:13 +0100
commita743797e2cade4c4f354daf13e036529a8a76537 (patch)
treec3534c0e3d1c416d9bb64867038c0069c597338b /application/models
parent854b855a22e61237c20efd5bc38f1c91eba7e19c (diff)
fix position of comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models')
-rw-r--r--application/models/file_mod.php4
1 files changed, 3 insertions, 1 deletions
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();