Permalink
Browse files

Fixed bug where filename did not match between cache engine and dispa…

…tcher in some cases.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7950 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
TommyO TommyO
TommyO authored and TommyO committed Dec 22, 2008
1 parent 60e3c6c commit f7a62bc80da89f5ce3b02931e5798a21a90b6c21
Showing with 2 additions and 2 deletions.
  1. +1 −1 cake/dispatcher.php
  2. +1 −1 cake/tests/cases/dispatcher.test.php
View
@@ -687,7 +687,7 @@ function cached($url) {
if ($this->here == '/') {
$path = 'home';
}
- $path = Inflector::slug($path);
+ $path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';
@@ -1923,7 +1923,7 @@ function __cachePath($here) {
if ($here == '/') {
$path = 'home';
}
- $path = Inflector::slug($path);
+ $path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';

0 comments on commit f7a62bc

Please sign in to comment.