mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
ftp implementation
This commit is contained in:
@@ -42,7 +42,7 @@ class UserSetting extends Model
|
||||
$link = [];
|
||||
|
||||
// Get avatar from external storage
|
||||
if ($this->attributes['avatar'] && ! isStorageDriver('local')) {
|
||||
if ($this->attributes['avatar'] && isStorageDriver('s3')) {
|
||||
foreach (config('vuefilemanager.avatar_sizes') as $item) {
|
||||
$filePath = "avatars/{$item['name']}-{$this->attributes['avatar']}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user