summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/file_proxy.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-01-19 22:26:34 -0800
committerBharat Mediratta <bharat@menalto.com>2013-01-19 22:26:34 -0800
commit52ab0e99884e6f018e540c3c64cb877fd608cef6 (patch)
tree179e6331f0ecbb8f3b38a6b728abb6ebf3fda0b7 /modules/gallery/controllers/file_proxy.php
parent2c584d5d23a346b085259a717055fbbb6c737da4 (diff)
parent592eff0e5a8af6f74eff4806dc6e7de56ca02761 (diff)
Merge pull request #89 from shadlaws/fix_1942
#1942 - Make data_rest and file_proxy more consistent
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 b9ff7df1..9af58c0c 100644
--- a/modules/gallery/controllers/file_proxy.php
+++ b/modules/gallery/controllers/file_proxy.php
@@ -100,6 +100,9 @@ class File_Proxy_Controller extends Controller {
throw new Kohana_404_Exception();
}
+ // Note: this code is roughly duplicated in data_rest, so if you modify this, please look to
+ // see if you should make the same change there as well.
+
if ($type == "albums") {
$file = $item->file_path();
} else if ($type == "resizes") {