mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8725 from purplespider/patch-1
Corrected `legacy_paths` to `legacy_filenames`
This commit is contained in:
commit
e00570f8b2
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user