Fixed bug where filename did not match between cache engine and dispatcher in some cases.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7950 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
TommyO 2008-12-22 19:01:17 +00:00
parent 60e3c6caa4
commit f7a62bc80d
2 changed files with 2 additions and 2 deletions

View file

@ -687,7 +687,7 @@ class Dispatcher extends Object {
if ($this->here == '/') {
$path = 'home';
}
$path = Inflector::slug($path);
$path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';

View file

@ -1923,7 +1923,7 @@ class DispatcherTest extends CakeTestCase {
if ($here == '/') {
$path = 'home';
}
$path = Inflector::slug($path);
$path = strtolower(Inflector::slug($path));
$filename = CACHE . 'views' . DS . $path . '.php';