Fix per lettura file XML fuori dalla root

This commit is contained in:
FabioL 2024-04-17 09:34:07 +02:00
parent 961186c3d1
commit 9b1e2e82e0
1 changed files with 1 additions and 1 deletions

View File

@ -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)