mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +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. |
||
---|---|---|
.. | ||
BakeTask.php | ||
ControllerTask.php | ||
DbConfigTask.php | ||
ExtractTask.php | ||
FixtureTask.php | ||
ModelTask.php | ||
PluginTask.php | ||
ProjectTask.php | ||
TemplateTask.php | ||
TestTask.php | ||
ViewTask.php |