diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 105ee48..12bcd68 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -80,8 +80,10 @@ if($customBackgroundExists == true){ - @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) - + @if(file_exists(base_path(findAvatar($userinfo->id)))) + + @elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) + @else @endif @@ -92,8 +94,10 @@ if($customBackgroundExists == true){ - @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) - + @if(file_exists(base_path(findAvatar($userinfo->id)))) + + @elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar'))) + @else @endif