1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

PHP7 User-Extended Fix. Checkboxes now working correctly and saving as an array. Some BC fixes may be needed.

This commit is contained in:
Cameron
2016-03-21 19:15:20 -07:00
parent bf2db49dd1
commit 1d803612ab
5 changed files with 59 additions and 12 deletions

View File

@@ -55,3 +55,17 @@ if (!function_exists('json_encode'))
return $json->decode($json_obj);
}
}
// Fix for exim missing.
if(!function_exists('exif_imagetype'))
{
function exif_imagetype($filename)
{
if((list($width, $height, $type, $attr) = getimagesize( $filename ) ) !== false)
{
return $type;
}
return false;
}
}