summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/models/file_mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index 8106107fc..efb5bf8a3 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -129,7 +129,7 @@ class File_mod extends CI_Model {
$redirect = false;
}
if ($redirect) {
- redirect($data['url']);
+ redirect($data['url'], "location", 303);
} else {
$this->load->view($this->var->view_dir.'/header', $data);
$this->load->view($this->var->view_dir.'/show_url', $data);