Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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