diff --git a/config/filesystems.php b/config/filesystems.php index 83e95a4515..db7a7286df 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -33,11 +33,10 @@ $exportDisk = [ // setting the SFTP host is enough to trigger the SFTP option. if ('' !== env('SFTP_HOST', '')) { - $uploadDisk['disks'][] = 'sftp-upload'; - $exportDisk['disks'][] = 'sftp-export'; + array_unshift($uploadDisk['disks'], 'sftp-upload'); + array_unshift($exportDisk['disks'], 'sftp-upload'); } - return [ /*