mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Make SFTP primary.
This commit is contained in:
@@ -33,11 +33,10 @@ $exportDisk = [
|
|||||||
|
|
||||||
// setting the SFTP host is enough to trigger the SFTP option.
|
// setting the SFTP host is enough to trigger the SFTP option.
|
||||||
if ('' !== env('SFTP_HOST', '')) {
|
if ('' !== env('SFTP_HOST', '')) {
|
||||||
$uploadDisk['disks'][] = 'sftp-upload';
|
array_unshift($uploadDisk['disks'], 'sftp-upload');
|
||||||
$exportDisk['disks'][] = 'sftp-export';
|
array_unshift($exportDisk['disks'], 'sftp-upload');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user