-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant file_exists check, remove unnessissary ltrim call added empty root path check in FileSystem loader constructor
- Loading branch information
1 parent
73901c1
commit f5f9689
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f5f9689
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this commit, projects with capfiony deployment tool does not work.
Image path is set as the .../release/web/uploads/image.jpg, but realpath returns .../shared/web/uploads/image.jpg and application throw exception because (0 !== strpos($absolutePath, $this->rootPath))