From 321676c97f4f406905fee74d139b6902647527e3 Mon Sep 17 00:00:00 2001 From: HamuZ HamuZ <550499+hamuz@users.noreply.github.com> Date: Tue, 23 Oct 2018 18:44:12 +0300 Subject: [PATCH] fix wrong local disk for export, and prefer local to remote --- config/filesystems.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/filesystems.php b/config/filesystems.php index 67e8165fc4..ef78fbf9de 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -28,13 +28,13 @@ $uploadDisk = [ $exportDisk = [ 'driver' => 'mirror', - 'disks' => ['local-upload'], + 'disks' => ['local-export'], ]; // setting the SFTP host is enough to trigger the SFTP option. if ('' !== env('SFTP_HOST', '')) { - array_unshift($uploadDisk['disks'], 'sftp-upload'); - array_unshift($exportDisk['disks'], 'sftp-export'); + array_push($uploadDisk['disks'], 'sftp-upload'); + array_push($exportDisk['disks'], 'sftp-export'); } return [