mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
// Given an image file name, return the mime type string. Returns FALSE if invalid
|
||||
/**
|
||||
* @param $fileName
|
||||
* @return false|string
|
||||
*/
|
||||
function mimeFromFilename($fileName)
|
||||
{
|
||||
$fileExt = strtolower(substr(strrchr($fileName, "."), 1));
|
||||
|
Reference in New Issue
Block a user