summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/file_proxy.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-30 20:51:02 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-30 20:51:02 -0700
commit132bd8306e444c46d3e588bdc1b21fa4474f2a98 (patch)
treeab5c3b4b5b4ea64cf681270c8960fd1c136bd4d9 /modules/gallery/controllers/file_proxy.php
parent4e46a6edf69208dc1e6f3d7fac0421a0c07988df (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.php3
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);