Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //this is how i store my images
- if($request->hasFile('photo')){
- $pub->photo = $request->photo->store('images');
- }
- // this is my filesystemes config
- 'local' => [
- 'driver' => 'local',
- 'root' => storage_path('app/public'),
- ],
- 'public' => [
- 'driver' => 'local',
- 'root' => storage_path('image'),
- 'url' => env('APP_URL').'/storage',
- 'visibility' => 'public',
- ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement