mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10255 from JohannDickson/patch-2
DOCS: Fix file resolver example
This commit is contained in:
commit
c460ffb88a
@ -297,9 +297,9 @@ SilverStripe\Core\Injector\Injector:
|
|||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
||||||
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
||||||
properties:
|
properties:
|
||||||
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
ResolutionFileIDHelpers:
|
ResolutionFileIDHelpers:
|
||||||
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
VersionedStage: Live
|
VersionedStage: Live
|
||||||
# Define protected resolution strategy
|
# Define protected resolution strategy
|
||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
||||||
|
@ -311,9 +311,9 @@ SilverStripe\Core\Injector\Injector:
|
|||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
||||||
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
||||||
properties:
|
properties:
|
||||||
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
ResolutionFileIDHelpers:
|
ResolutionFileIDHelpers:
|
||||||
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
VersionedStage: Live
|
VersionedStage: Live
|
||||||
# Define protected resolution strategy
|
# Define protected resolution strategy
|
||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user