Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed path() method to getRealPath() (#300)
Uploading a regular file using laravel-filemanager causes this error: `Call to undefined method Symfony\Component\HttpFoundation\File\UploadedFile::path()` According to other places inside the code, the correct method should be `getRealPath()`, after changing both references in the UploadController I was able to upload files without issues. The error only occured when uploading using the "Files" type of the file manager (like a PDF).
- Loading branch information