mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 21:29:23 +02:00
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
This commit is contained in:
parent
7d23928fde
commit
f34f1ec7ee
@ -126,7 +126,7 @@ As with storage, there are also different ways of loading the content (or proper
|
|||||||
|
|
||||||
SilverStripe has a pre-defined list of common file types. `File::getFileType` will return "unknown" for files outside that list.
|
SilverStripe has a pre-defined list of common file types. `File::getFileType` will return "unknown" for files outside that list.
|
||||||
|
|
||||||
You can add your own file extensions and it's description with the following configuration.
|
You can add your own file extensions and its description with the following configuration.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
SilverStripe\Assets\File:
|
SilverStripe\Assets\File:
|
||||||
|
Loading…
Reference in New Issue
Block a user