summaryrefslogtreecommitdiff
path: root/core/controllers/file_proxy.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-17 04:55:49 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-17 04:55:49 +0000
commit8630d61051d3fc2292cec35d098e239132870fa5 (patch)
treef015f3c58850131000daaa6a050b2a44779c7b7f /core/controllers/file_proxy.php
parentfc7b78492bc671f6dd78e04f5d42de958cdfb1d7 (diff)
Change the album thumbnail/resize from _album.jpg to .album.pjg
because the leading underscore confuses the Kohana router.
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;
}
}