Log for avatar upload
This commit is contained in:
parent
ced2c150b7
commit
7e4c652330
@ -196,6 +196,7 @@ class ProfileController extends Controller
|
|||||||
});
|
});
|
||||||
|
|
||||||
$canvas->insert($image);
|
$canvas->insert($image);
|
||||||
|
Log::info('Uploading avatar into folder '.public_path('uploads/avatars'));
|
||||||
$canvas->save(public_path('uploads/avatars/'.$file_name));
|
$canvas->save(public_path('uploads/avatars/'.$file_name));
|
||||||
|
|
||||||
$req_data['avatar'] = $path;
|
$req_data['avatar'] = $path;
|
||||||
|
Loading…
Reference in New Issue
Block a user