diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-30 20:51:02 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-30 20:51:02 -0700 |
commit | 132bd8306e444c46d3e588bdc1b21fa4474f2a98 (patch) | |
tree | ab5c3b4b5b4ea64cf681270c8960fd1c136bd4d9 /modules/gallery/controllers/file_proxy.php | |
parent | 4e46a6edf69208dc1e6f3d7fac0421a0c07988df (diff) |
Re-add Session::abort_save(). It was reverted as part of the earlier
change, but this is the part that we want to keep.
Diffstat (limited to 'modules/gallery/controllers/file_proxy.php')
-rw-r--r-- | modules/gallery/controllers/file_proxy.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/controllers/file_proxy.php b/modules/gallery/controllers/file_proxy.php index 1f885e53..0d64bcd9 100644 --- a/modules/gallery/controllers/file_proxy.php +++ b/modules/gallery/controllers/file_proxy.php @@ -112,6 +112,9 @@ class File_Proxy_Controller extends Controller { kohana::show_404(); } + // We don't need to save the session for this request + Session::abort_save(); + // Dump out the image header("Content-Type: $item->mime_type"); Kohana::close_buffers(false); |