We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f79a72 commit 7b95c68Copy full SHA for 7b95c68
web/index.php
@@ -57,9 +57,9 @@
57
$container->add(ResponseInterface::class, Response::class);
58
59
$container->share(FilesystemInterface::class, function () use ($request) {
60
- // @FIXME: Filesystem root and the $adapter should be configurable.
+ // @FIXME: Filesystem $adapter should be configurable.
61
// Implement this with `$filesystem = \MJRider\FlysystemFactory\create(getenv('STORAGE_ENDPOINT'));`
62
- $filesystemRoot = __DIR__ . '/../tests/fixtures';
+ $filesystemRoot = getenv('STORAGE_ENDPOINT') ?: __DIR__ . '/../tests/fixtures';
63
64
$adapter = new \League\Flysystem\Adapter\Local($filesystemRoot);
65
0 commit comments