File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -285,9 +285,21 @@ return [
285285];
286286```
287287
288- ### Global visibility settings
288+ ### Replication
289289
290- Configure ` fsID ` application component as follows
290+ Either run
291+
292+ ``` bash
293+ $ composer require league/flysystem-replicate-adapter
294+ ```
295+
296+ or add
297+
298+ ```
299+ "league/flysystem-replicate-adapter": "~1.0"
300+ ```
301+
302+ to the ` require ` section of your ` composer.json ` file and configure ` fsID ` application component as follows
291303
292304``` php
293305return [
@@ -296,15 +308,13 @@ return [
296308 //...
297309 'fsID' => [
298310 //...
299- 'config' => [
300- 'visibility' => \League\Flysystem\AdapterInterface::VISIBILITY_PRIVATE,
301- ],
311+ 'replica' => 'anotherFsID',
302312 ],
303313 ],
304314];
305315```
306316
307- ### Replication
317+ ### Global visibility settings
308318
309319Configure ` fsID ` application component as follows
310320
@@ -315,7 +325,9 @@ return [
315325 //...
316326 'fsID' => [
317327 //...
318- 'replica' => 'anotherFsID',
328+ 'config' => [
329+ 'visibility' => \League\Flysystem\AdapterInterface::VISIBILITY_PRIVATE,
330+ ],
319331 ],
320332 ],
321333];
You can’t perform that action at this time.
0 commit comments