mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
60e3c6caa4
commit
f7a62bc80d
2 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue