Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilable assets when using a mirrored public folder
When using a mirrored public folder (i.e. `artisan winter:mirror public`), the working directory for the request is set to base_path('public') instead of base_path(), so it is important to use absolute paths when calling File::exists() as it internally just calls file_exists(), which uses the current working directory to resolve relative paths. Related: - wintercms/storm@752c162#diff-58c1a5c5e22fc25e75bb02e4af9d2085cfe66b8cfe7c3cffc2f32a4fb60240aaR31 - laravel/framework#45679 - laravel/framework#13243
- Loading branch information