if (Request::hasFile('img1'))
{
$file=$request->file('img1');
$f_name=$file->getClientOriginalName();
$url_img='/site/img/product/'.$f_name;
$file->move($root,$f_name);
$ProdModel->img1=$url_img;
}
Non-static method Illuminate\Http\Request::hasFile() should not be called statically, assuming $this from incompatible context