Merge pull request #1024 from Apathetic012/develop

add output of File::mime() example
This commit is contained in:
Dayle Rees
2012-07-31 09:11:12 -07:00

View File

@@ -73,7 +73,7 @@ The **is** method does not simply check the file extension. The Fileinfo PHP ext
#### 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.