Skip to content

Commit fee448c

Browse files
dsiemensma-framnamaxhelias
authored andcommitted
Update 1-getting-started.md
Fix typo in read_only option doc reference
1 parent d3f6220 commit fee448c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/1-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ To achieve this, you need to install the read-only package :
178178
composer require league/flysystem-read-only
179179
```
180180

181-
And then, you can configure your storage with the `readonly` options.
181+
And then, you can configure your storage with the `read_only` option.
182182

183183
```yaml
184184
# config/packages/flysystem.yaml
@@ -189,7 +189,7 @@ flysystem:
189189
adapter: 'local'
190190
options:
191191
directory: '%kernel.project_dir%/storage/users'
192-
readonly: true
192+
read_only: true
193193
```
194194

195195
With this configuration, any write operation will throw a suitable exception.

0 commit comments

Comments
 (0)