Controller :
public function index()
{
if (!file_exists("uploads/profiles/".\Auth::User()->id.".jpeg")) {
$image = File::getRemote("uploads/profiles/default.jpg");
return $image;
}
Error : Method getRemote does not exist.
and if I try 'get' instead of getRemote. It's showing the output which is given in photo.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire