Merge pull request #1024 from Apathetic012/develop
add output of File::mime() example
This commit is contained in:
commit
7256dc2a65
|
@ -73,7 +73,7 @@ ## Getting MIME Types
|
||||||
|
|
||||||
#### Getting the MIME type associated with an extension:
|
#### Getting the MIME type associated with an extension:
|
||||||
|
|
||||||
echo File::mime('gif');
|
echo File::mime('gif'); // outputs 'image/gif'
|
||||||
|
|
||||||
> **Note:** This method simply returns the MIME type defined for the extension in the **application/config/mimes.php** file.
|
> **Note:** This method simply returns the MIME type defined for the extension in the **application/config/mimes.php** file.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue