Commit 7256dc2a by Dayle Rees

Merge pull request #1024 from Apathetic012/develop

add output of File::mime() example
parents 06ac3274 5eef0023
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment