Move file to public_path error 500
vulam8x opened this issue · 0 comments
vulam8x commented
I passed the file variable to the controller but when moving to public_path images there was an error of 500
My code to move file:
public function store(Request $request){
...
$request->photo->move(public_path('images'), $photoName);
...
}