Corrected legacy_paths to legacy_filenames

This commit is contained in:
James Cocker 2019-01-14 14:35:11 +00:00 committed by GitHub
parent 09554d9e27
commit 797b749098
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
```