1
0
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:
Cameron
2022-04-04 10:54:24 -07:00
parent 813f2bf38f
commit 55980a29a8
104 changed files with 5498 additions and 1221 deletions

View File

@@ -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));