From 7e4c65233085c3c212d09c08dc69acd862d4b447 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 22 Nov 2020 09:59:09 -0500 Subject: [PATCH] Log for avatar upload --- app/Http/Controllers/Frontend/ProfileController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Frontend/ProfileController.php b/app/Http/Controllers/Frontend/ProfileController.php index 92cf5865..3780f448 100644 --- a/app/Http/Controllers/Frontend/ProfileController.php +++ b/app/Http/Controllers/Frontend/ProfileController.php @@ -196,6 +196,7 @@ class ProfileController extends Controller }); $canvas->insert($image); + Log::info('Uploading avatar into folder '.public_path('uploads/avatars')); $canvas->save(public_path('uploads/avatars/'.$file_name)); $req_data['avatar'] = $path;