diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 225a3d61..176d44ac 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -48,7 +48,7 @@ class AppServiceProvider extends ServiceProvider } - if(!is_file(public_path('storage'))) { + if(!is_file(public_path('storage/.gitignore'))) { Artisan::call('storage:link'); \Session::put('current_user', null); }