mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
36275129d7
When extracting model validation messages, Reflection::getFileName is used to obtain the the model filename. The returned value is actual physical path and may differ to what APP is. Adding the realpath(APP) to $paths variable allows str_replace() to correctly generate the correct value for $occurences. |
||
---|---|---|
.. | ||
Task | ||
AclShell.php | ||
ApiShell.php | ||
AppShell.php | ||
BakeShell.php | ||
CommandListShell.php | ||
ConsoleShell.php | ||
I18nShell.php | ||
SchemaShell.php | ||
TestShell.php | ||
TestsuiteShell.php | ||
UpgradeShell.php |