fixed document logo show issue..

This commit is contained in:
Cüneyt Şentürk
2021-05-30 19:28:31 +03:00
parent b3d27a17cc
commit e6f34d8089
3 changed files with 7 additions and 7 deletions

View File

@ -25,9 +25,9 @@ class Logo
$media = Media::find(setting('company.logo'));
if (!empty($media)) {
$path = Storage::path($media->getDiskPath());
$path = $media->getDiskPath();
if (!Storage::exists($path)) {
if (Storage::missing($path)) {
return $logo;
}
} else {