From 4e9456b33b900eac9c35b8bc1baae84abeba6176 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 14 Oct 2018 14:49:03 +0200 Subject: [PATCH] Make SFTP primary. --- config/filesystems.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 [ /*