test kerim last
This commit is contained in:
parent
b939edbd91
commit
d4c4e516b6
|
|
@ -31,8 +31,8 @@ class ContactController extends Controller
|
|||
if($resp->isSuccess()) {
|
||||
if($request->file('file') != null){
|
||||
$image = $request->file('file');
|
||||
$path = $request->file('file')->store(
|
||||
'uploads/mails/'. time() .'.'.$image->getClientOriginalExtension()
|
||||
$path = $request->file('file')->storeAs(
|
||||
'uploads/mails',time() .'.'.$image->getClientOriginalExtension()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue