Vergleich inc/functions_image.php - 1.8.8 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 33Zeile 33
	$imgheight = $imgdesc[1];
$imgtype = $imgdesc[2];
$imgattr = $imgdesc[3];

	$imgheight = $imgdesc[1];
$imgtype = $imgdesc[2];
$imgattr = $imgdesc[3];

	$imgbits = $imgdesc['bits'];
$imgchan = $imgdesc['channels'];

	$imgbits = isset($imgdesc['bits']) ? $imgdesc['bits'] : null;
$imgchan = isset($imgdesc['channels']) ? $imgdesc['channels'] : null;


if($imgwidth == 0 || $imgheight == 0)
{


if($imgwidth == 0 || $imgheight == 0)
{

Zeile 178Zeile 178
	}

$limit = preg_match("#^([0-9]+)\s?([kmg])b?$#i", trim(my_strtolower($memory_limit)), $matches);

	}

$limit = preg_match("#^([0-9]+)\s?([kmg])b?$#i", trim(my_strtolower($memory_limit)), $matches);

	$memory_limit = 0;

	$memory_limit = (int)$memory_limit;

	if($matches[1] && $matches[2])
{
switch($matches[2])

	if($matches[1] && $matches[2])
{
switch($matches[2])