Please sign in to comment.
i18n: consider real path of APP to handle symlinks
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.
- Loading branch information...
Showing with 3 additions and 1 deletion.