Browse Source
check for gitignore in public storage and symlink if missing
search-enhancements
KodeStar
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|