mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR New category 'flash' in File->appCategory() (mainly for usage in "insert flash" logic)
This commit is contained in:
parent
5ab007db21
commit
2c5d71dc29
@ -304,6 +304,9 @@ class File extends DataObject {
|
||||
case "bmp": case "gif": case "jpg": case "jpeg": case "pcx": case "tif": case "png": case "alpha":
|
||||
case "als": case "cel": case "icon": case "ico": case "ps":
|
||||
return "image";
|
||||
|
||||
case "swf":
|
||||
return "flash";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user