summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-01-19 08:40:19 +0100
committershadlaws <shad@shadlaws.com>2013-01-19 08:40:19 +0100
commit592eff0e5a8af6f74eff4806dc6e7de56ca02761 (patch)
treeef6019a8c6452d3b0212e51fe10ec09a07344dc0 /modules/gallery/controllers
parent93afe52ae16b5f01a1bd9966af061ea0d6224370 (diff)
#1942 - Make data_rest and file_proxy more consistent - several minor documentation/formatting changes.
No actual functionality changed here.
Diffstat (limited to 'modules/gallery/controllers')
-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") {