mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes #988. Instead of str_replace (which instead of truncating the leading directory from the path might replace some random inner part of it) use substr to remove it.