diff --git a/src/Models/Upload.php b/src/Models/Upload.php index b9669b892..d9ca274a7 100755 --- a/src/Models/Upload.php +++ b/src/Models/Upload.php @@ -338,7 +338,7 @@ class Upload extends Model */ public function getContent() { - return file_get_contents($this->local_filepath); + return file_get_contents(base_dir().'/'.$this->local_filepath); } public static function getInfo($file)