summaryrefslogtreecommitdiff
path: root/core/controllers/file_proxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/file_proxy.php')
-rw-r--r--core/controllers/file_proxy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/file_proxy.php b/core/controllers/file_proxy.php
index 5bb15ebb..6dc27ce1 100644
--- a/core/controllers/file_proxy.php
+++ b/core/controllers/file_proxy.php
@@ -66,8 +66,8 @@ class File_Proxy_Controller extends Controller {
kohana::show_404();
}
- // If the last element is _album.jpg then we're done.
- if (count($paths) == 1 && $paths[0] == "_album.jpg") {
+ // If the last element is .album.jpg then we're done.
+ if (count($paths) == 1 && $paths[0] == ".album.jpg") {
break;
}
}