check for gitignore in public storage and symlink if missing
This commit is contained in:
parent
cbef469e02
commit
caf92bcf6d
|
@ -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…
Reference in a new issue