revert jimIcon stuff
This commit is contained in:
parent
3ad820e083
commit
5d0f65358f
|
@ -104,11 +104,7 @@ class jimIcon {
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if we can parse it (might be PNG format here)
|
// See if we can parse it (might be PNG format here)
|
||||||
// (all this to hide one GD warning)
|
$i = @imagecreatefromstring($data);
|
||||||
$er = error_reporting();
|
|
||||||
error_reporting(0);
|
|
||||||
$i = imagecreatefromstring($data);
|
|
||||||
error_reporting($er);
|
|
||||||
|
|
||||||
if ($i) {
|
if ($i) {
|
||||||
imagesavealpha($i, true);
|
imagesavealpha($i, true);
|
||||||
|
|
Loading…
Reference in New Issue