Skip to content

Commit

Permalink
Merge pull request #1813 from hamuz/develop
Browse files Browse the repository at this point in the history
Fix remote backing storage
  • Loading branch information
JC5 committed Oct 23, 2018
2 parents 1c8375d + 321676c commit 69fe6ec
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 52 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"league/flysystem-replicate-adapter": "^1.0",
"league/flysystem-sftp": "^1.0",
"league/fractal": "^0.17.0",
"litipk/flysystem-fallback-adapter": "^0.1.3",
"litipk/flysystem-fallback-adapter": "0.1.2",
"mschindler83/fints-hbci-php": "^1.0",
"pragmarx/google2fa": "3.*",
"pragmarx/google2fa-laravel": "0.*",
Expand Down
103 changes: 55 additions & 48 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@

$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 [
Expand Down

0 comments on commit 69fe6ec

Please sign in to comment.