Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open the file
- config/filesystems.php
- Replace 'root' => storage_path('app/public') with 'root' => storage_path('app/public_html')
- 'public' => [
- 'driver' => 'local',
- 'root' => storage_path('app/public_html'),
- 'url' => env('APP_URL').'/storage',
- 'visibility' => 'public',
- ],
- And
- open
- app/Providers/AppServiceProvider
- Bind public directory in app/Providers/AppServiceProvider register method
- public function register()
- {
- $this->app->bind('path.public', function() {
- return base_path('public_html');
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement