Browse Source

check for gitignore in public storage and symlink if missing

search-enhancements
KodeStar 6 years ago
committed by GitHub
parent
commit
caf92bcf6d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/Providers/AppServiceProvider.php

2
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);
}

Loading…
Cancel
Save