Merge pull request #8725 from purplespider/patch-1

Corrected `legacy_paths` to `legacy_filenames`
This commit is contained in:
Robbie Averill 2019-01-14 15:42:12 +01:00 committed by GitHub
commit e00570f8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -746,13 +746,13 @@ Because the filesystem now uses the sha1 of file contents in order to version mu
filename, the default storage paths in 4.0 will not be the same as in 3.
In order to retain existing file paths in line with framework version 3 you should set the
`\SilverStripe\Filesystem\Flysystem\FlysystemAssetStore.legacy_paths` config to true.
`\SilverStripe\Filesystem\Flysystem\FlysystemAssetStore.legacy_filenames` config to true.
Note that this will not allow you to utilise certain file versioning features in 4.0.
```yml
SilverStripe\Filesystem\Flysystem\FlysystemAssetStore:
legacy_paths: true
legacy_filenames: true
```