From 063faf5a9cfc7f590c1911c2a68016504f357a6a Mon Sep 17 00:00:00 2001 From: phpnut Date: Mon, 3 Dec 2007 00:22:01 +0000 Subject: [PATCH] "Fixes #3449, Dispatcher using wrong filename for cache lookup" git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6110 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 04821608e..3634176a2 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -635,9 +635,9 @@ class Dispatcher extends Object { } if (Configure::read('Cache.check') === true) { - $filename = CACHE . 'views' . DS . convertSlash($url) . '.php'; + $filename = CACHE . 'views' . DS . convertSlash($this->here) . '.php'; if (!file_exists($filename)) { - $filename = CACHE . 'views' . DS . convertSlash($url) . '_index.php'; + $filename = CACHE . 'views' . DS . convertSlash($this->here) . '_index.php'; } if (file_exists($filename)) { if (!class_exists('View')) {