From cab2a2ff37e4576e5dd77e27bbf1a4e4dabfafd4 Mon Sep 17 00:00:00 2001 From: ilmedova Date: Tue, 23 Nov 2021 15:41:10 +0500 Subject: [PATCH] test111 --- app/Http/Controllers/ContactController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php index cbddbbe3..2886e8e4 100644 --- a/app/Http/Controllers/ContactController.php +++ b/app/Http/Controllers/ContactController.php @@ -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,