mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-15 11:27:24 -04:00
#1942 - Make data_rest and file_proxy more consistent - several minor documentation/formatting changes.
No actual functionality changed here.
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user