diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-06-04 08:55:52 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-06-04 08:55:52 +0200 |
commit | 7dfc1fd5ece8bb61af0bd0d41685abb51df3eff0 (patch) | |
tree | cdf02d8f861434868e771ad2687d667e8d21e5f1 /application | |
parent | 844031a6ab7d5fc035f350ee4b260f6cc73bdb76 (diff) |
fix status code for redirect in show_url
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application')
-rw-r--r-- | application/models/file_mod.php | 2 |
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); |