add output of File::mime() example

Signed-off-by: apathetic012 <[email protected]>
This commit is contained in:
apathetic012
2012-07-29 19:12:44 +08:00
parent d417eb5664
commit 5eef002374
+1 -1
View File
@@ -65,7 +65,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.