mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 18:12:40 +00:00
partial fix for the scaffold test
This commit is contained in:
parent
eafc8259e5
commit
20f541108e
2 changed files with 29 additions and 29 deletions
|
@ -62,7 +62,7 @@ class ScaffoldView extends ThemeView {
|
|||
}
|
||||
|
||||
$names[] = $this->viewPath . DS . $subDir . $scaffoldAction;
|
||||
$names[] = 'scaffolds' . DS . $subDir . $name;
|
||||
$names[] = 'Scaffolds' . DS . $subDir . $name;
|
||||
|
||||
$paths = $this->_paths($this->plugin);
|
||||
$exts = array($this->ext);
|
||||
|
@ -79,7 +79,7 @@ class ScaffoldView extends ThemeView {
|
|||
}
|
||||
}
|
||||
|
||||
if ($name === 'scaffolds' . DS . $subDir . 'error') {
|
||||
if ($name === 'Scaffolds' . DS . $subDir . 'error') {
|
||||
return CAKE . 'View' . DS . 'Errors' . DS . 'scaffold_error.ctp';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue