Changed path() method to getRealPath() (#300)
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).
UniSharp/laravel-filemanager,UniSharp/laravel-filemanager