We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444a216 commit 60349f5Copy full SHA for 60349f5
1 file changed
src/Models/Upload.php
@@ -366,7 +366,7 @@ public function getExtensionAttribute()
366
*/
367
public function getContent()
368
{
369
- return file_get_contents(base_dir().'/'.$this->local_filepath);
+ return file_get_contents(base_dir().'/files/'.$this->attachments_directory.'/'.$this->filename);
370
}
371
372
public static function getInfo($file)
0 commit comments