From 8630d61051d3fc2292cec35d098e239132870fa5 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 17 Dec 2008 04:55:49 +0000 Subject: Change the album thumbnail/resize from _album.jpg to .album.pjg because the leading underscore confuses the Kohana router. --- core/controllers/file_proxy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/controllers/file_proxy.php') 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; } } -- cgit v1.2.3