v1.0.0
English

Mimes.php

app/Config/Mimes.php
1 class 2 methods

class Mimes

This file contains an array of mime types. It is used by the Upload class to help identify allowed file types. When more than one variation for an extension exist (like jpg, jpeg, etc) the most common one should be first in the array to aid the guess methods. The same applies when more than one mime-type exists for a single extension. When working with mime types, please make sure you have the ´fileinfo´ extension enabled to reliably detect the media types.
guessTypeFromExtension (string $extension) public
guessExtensionFromType (string $type, ?string $proposedExtension = null) public
phpDG v1.0.0 Mimes.php 662 files 498 classes 763 fn
Generated