test111
This commit is contained in:
parent
d787d2e0cd
commit
cab2a2ff37
|
|
@ -30,7 +30,7 @@ class ContactController extends Controller
|
|||
$resp = $recaptcha->verify($recapresponse, $_SERVER['REMOTE_ADDR']);
|
||||
if($resp->isSuccess()) {
|
||||
|
||||
|
||||
dd($request->file('file'));
|
||||
|
||||
$image = $request->file('file');
|
||||
$input['file'] = time().'.'.$image->getClientOriginalExtension();
|
||||
|
|
@ -39,7 +39,7 @@ class ContactController extends Controller
|
|||
$imgFile = Image::make($image->getRealPath());
|
||||
$imgFile->save(public_path('uploads/mails'.$input['file']));
|
||||
|
||||
dd('success');
|
||||
|
||||
$data = array(
|
||||
'name' => $request->name,
|
||||
'email' => $request->email,
|
||||
|
|
|
|||
Loading…
Reference in New Issue