diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-21 15:09:32 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-21 15:09:32 -0700 | 
| commit | 06f066164f60fe0babbc7a480e6319a0702e0c46 (patch) | |
| tree | c21ca80bac20afd76c24108f177c9807c4bd359c /modules/gallery/controllers | |
| parent | 1fa05d2f39604febda698743d78ff0c36cd25f5f (diff) | |
Add Session::abort_save() to Kohana.
Filed upstream as: http://dev.kohanaphp.com/issues/1801
Diffstat (limited to 'modules/gallery/controllers')
| -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); | 
