From caf92bcf6d76af8272fb5ebe6a9a7466541582e0 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 15 Jan 2019 15:25:53 +0000 Subject: [PATCH] check for gitignore in public storage and symlink if missing --- app/Providers/AppServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }