Fix per lettura file XML fuori dalla root
This commit is contained in:
parent
961186c3d1
commit
9b1e2e82e0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue